From 67b3f077b8e588303d2a52d87cda3d31fffb30bb Mon Sep 17 00:00:00 2001 From: Luis Date: Thu, 2 Jan 2025 10:26:21 -0400 Subject: [PATCH 01/18] feat: release note --- .github/workflows/release.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..ec979e43 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,24 @@ +name: Create release + +on: + push: + tags: + - 'v*' + +permissions: + contents: write + +jobs: + release: + name: Release pushed tag + runs-on: ubuntu-22.04 + steps: + - name: Create release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + tag: ${{ github.ref_name }} + run: | + gh release create "$tag" \ + --repo="$GITHUB_REPOSITORY" \ + --title="${tag#v}" \ + --generate-notes From b504ec32310fa584884beaa4e8bf380307fae150 Mon Sep 17 00:00:00 2001 From: Luis Date: Thu, 2 Jan 2025 10:32:24 -0400 Subject: [PATCH 02/18] feat: use labels for each pull request --- .github/release.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/release.yml diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 00000000..ecfc9a36 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,21 @@ +changelog: + exclude: + labels: + - ignore-for-release + authors: + - octocat + categories: + - title: Breaking Changes 🛠 + labels: + - breaking-change + - title: Exciting New Features 🎉 + labels: + - enhancement + - feat + - feature + - title: Bug fixes 🐛 + labels: + - fix + - title: Other Changes + labels: + - '*' From ccc040033a435b7a014b7ac34050e4bc23559cfe Mon Sep 17 00:00:00 2001 From: Luis Date: Thu, 2 Jan 2025 10:33:49 -0400 Subject: [PATCH 03/18] fix: release titles --- .github/release.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/release.yml b/.github/release.yml index ecfc9a36..2454f2a6 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -2,8 +2,6 @@ changelog: exclude: labels: - ignore-for-release - authors: - - octocat categories: - title: Breaking Changes 🛠 labels: From 5092fe67409bb724cbea62c76a9ce48b914e3526 Mon Sep 17 00:00:00 2001 From: Luis Date: Thu, 2 Jan 2025 10:36:03 -0400 Subject: [PATCH 04/18] feat: changelog title --- .github/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/release.yml b/.github/release.yml index 2454f2a6..f1c1af58 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -14,6 +14,10 @@ changelog: - title: Bug fixes 🐛 labels: - fix + + - title: Documentation 📄 + labels: + - documentation - title: Other Changes labels: - '*' From 5696d62ccf0482f58b478cd8248903da7d8b0e26 Mon Sep 17 00:00:00 2001 From: Luis Date: Thu, 2 Jan 2025 10:37:33 -0400 Subject: [PATCH 05/18] feat: new labels --- .github/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/release.yml b/.github/release.yml index f1c1af58..f31bffff 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -10,11 +10,12 @@ changelog: labels: - enhancement - feat + - kind:feat - feature - title: Bug fixes 🐛 labels: - fix - + - kind:fix - title: Documentation 📄 labels: - documentation From d016b62fdd9492afa56a7f598fceb74c1c8e0a97 Mon Sep 17 00:00:00 2001 From: Luis Date: Thu, 2 Jan 2025 17:03:21 -0400 Subject: [PATCH 06/18] feat: notification release --- .github/release.yml | 2 +- .github/workflows/release.yml | 8 ++++++++ CHANGELOG.md | 1 - 3 files changed, 9 insertions(+), 2 deletions(-) delete mode 100644 CHANGELOG.md diff --git a/.github/release.yml b/.github/release.yml index f31bffff..439b4bf7 100644 --- a/.github/release.yml +++ b/.github/release.yml @@ -6,7 +6,7 @@ changelog: - title: Breaking Changes 🛠 labels: - breaking-change - - title: Exciting New Features 🎉 + - title: New Features 🎉 labels: - enhancement - feat diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ec979e43..be316a99 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,6 +12,11 @@ jobs: release: name: Release pushed tag runs-on: ubuntu-22.04 + env: + VERSION: ${{ github.ref_name }} + LINK: https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }} + RECEIVE_ID_TYPE: 'email' + RECEIVE_ID: 'lsanchez@avilatek.dev' steps: - name: Create release env: @@ -22,3 +27,6 @@ jobs: --repo="$GITHUB_REPOSITORY" \ --title="${tag#v}" \ --generate-notes + - name: New release + runs-on: ubuntu-22.04 # Or another suitable runner + container: lesanpi/lark-release-version-card diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index ec08d8ab..00000000 --- a/CHANGELOG.md +++ /dev/null @@ -1 +0,0 @@ -# v2.0.0-canary.0 From 319317d30ccd4b51b088dba93c15ca07b715c75e Mon Sep 17 00:00:00 2001 From: Luis Date: Thu, 2 Jan 2025 17:18:30 -0400 Subject: [PATCH 07/18] feat: notification release --- .github/workflows/release.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index be316a99..52c2d9d5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,5 +28,4 @@ jobs: --title="${tag#v}" \ --generate-notes - name: New release - runs-on: ubuntu-22.04 # Or another suitable runner container: lesanpi/lark-release-version-card From adde2cb296e0e3105ccf875e8f9726081350a9b7 Mon Sep 17 00:00:00 2001 From: Luis Date: Thu, 2 Jan 2025 17:23:41 -0400 Subject: [PATCH 08/18] feat: release note --- .github/workflows/release.yml | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52c2d9d5..50ee7651 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,11 +12,6 @@ jobs: release: name: Release pushed tag runs-on: ubuntu-22.04 - env: - VERSION: ${{ github.ref_name }} - LINK: https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }} - RECEIVE_ID_TYPE: 'email' - RECEIVE_ID: 'lsanchez@avilatek.dev' steps: - name: Create release env: @@ -28,4 +23,15 @@ jobs: --title="${tag#v}" \ --generate-notes - name: New release - container: lesanpi/lark-release-version-card + uses: docker://lesanpi/lark-release-version-card:v1.0 + # with: + # args: 'comando1 arg1 comando2 arg2' + + # runs-on: ubuntu-latest + # container: + # image: lesanpi/lark-release-version-card + # env: + # VERSION: ${{ github.ref_name }} + # LINK: https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }} + # RECEIVE_ID_TYPE: 'email' + # RECEIVE_ID: 'lsanchez@avilatek.dev' From db86a282f4e45a5b509195b9bb75e9dd3d1e8b7a Mon Sep 17 00:00:00 2001 From: Luis Date: Fri, 3 Jan 2025 11:39:11 -0400 Subject: [PATCH 09/18] build: pipeline secrets --- .github/workflows/release.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 50ee7651..e5306534 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,13 @@ jobs: --title="${tag#v}" \ --generate-notes - name: New release + env: + APP_SECRET: ${{ secrets.LARK_APP_SECRET }} + APP_ID: ${{ secrets.LARK_APP_ID }} + RECEIVE_ID_TYPE: email + RECEIVE_ID: lsanchez@avilatek.dev + VERSION: ${{ github.ref_name }} + LINK: https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }} uses: docker://lesanpi/lark-release-version-card:v1.0 # with: # args: 'comando1 arg1 comando2 arg2' From 2aa57d54a82bb830d60e4da37e67fc2995ae86d4 Mon Sep 17 00:00:00 2001 From: Luis Date: Fri, 3 Jan 2025 11:40:34 -0400 Subject: [PATCH 10/18] chore: title step for release notification --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e5306534..0a8ad1e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,7 +22,7 @@ jobs: --repo="$GITHUB_REPOSITORY" \ --title="${tag#v}" \ --generate-notes - - name: New release + - name: New release notification env: APP_SECRET: ${{ secrets.LARK_APP_SECRET }} APP_ID: ${{ secrets.LARK_APP_ID }} From 5dbc6a3a340b88158f2357b756f476a3b29a45bb Mon Sep 17 00:00:00 2001 From: Luis Date: Fri, 3 Jan 2025 11:58:04 -0400 Subject: [PATCH 11/18] feat: repository name --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a8ad1e1..56f381b9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -26,6 +26,7 @@ jobs: env: APP_SECRET: ${{ secrets.LARK_APP_SECRET }} APP_ID: ${{ secrets.LARK_APP_ID }} + REPOSITORY_NAME: Fullstack Template RECEIVE_ID_TYPE: email RECEIVE_ID: lsanchez@avilatek.dev VERSION: ${{ github.ref_name }} From 5edf0bfbcbbbc88a15d6a00bb53bb4771cbe89a1 Mon Sep 17 00:00:00 2001 From: Luis Date: Fri, 3 Jan 2025 12:00:40 -0400 Subject: [PATCH 12/18] chore: use v1.1 notification image --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 56f381b9..f5df9921 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,7 +31,7 @@ jobs: RECEIVE_ID: lsanchez@avilatek.dev VERSION: ${{ github.ref_name }} LINK: https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }} - uses: docker://lesanpi/lark-release-version-card:v1.0 + uses: docker://lesanpi/lark-release-version-card:v1.1 # with: # args: 'comando1 arg1 comando2 arg2' From ef622265d5cfa566bcfeaeadcc18f9ffc41a2240 Mon Sep 17 00:00:00 2001 From: Luis Date: Fri, 3 Jan 2025 12:55:59 -0400 Subject: [PATCH 13/18] feat: release note email notification --- .github/workflows/release.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f5df9921..c4ab249f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,14 +24,11 @@ jobs: --generate-notes - name: New release notification env: - APP_SECRET: ${{ secrets.LARK_APP_SECRET }} - APP_ID: ${{ secrets.LARK_APP_ID }} - REPOSITORY_NAME: Fullstack Template - RECEIVE_ID_TYPE: email - RECEIVE_ID: lsanchez@avilatek.dev + APP_NAME: Fullstack Template VERSION: ${{ github.ref_name }} + RECEIVE_EMAIL: lsanchez@avilatek.dev LINK: https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }} - uses: docker://lesanpi/lark-release-version-card:v1.1 + uses: docker://lesanpi/email-deploy:v1.0.0 # with: # args: 'comando1 arg1 comando2 arg2' From 12678d6d0afbacdf38492ad6a46126e05b463e60 Mon Sep 17 00:00:00 2001 From: Luis Date: Fri, 3 Jan 2025 12:57:42 -0400 Subject: [PATCH 14/18] chore: postmark secret token --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c4ab249f..15a9b077 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,6 +24,7 @@ jobs: --generate-notes - name: New release notification env: + POSTMARK_SERVER_TOKEN: ${{ secrets.POSTMARK_SERVER_TOKEN }} APP_NAME: Fullstack Template VERSION: ${{ github.ref_name }} RECEIVE_EMAIL: lsanchez@avilatek.dev From 15ddd01389cd6dc39aaf894cf6a41a9264d0092e Mon Sep 17 00:00:00 2001 From: Luis Date: Fri, 3 Jan 2025 12:59:36 -0400 Subject: [PATCH 15/18] chore: remove comments --- .github/workflows/release.yml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 15a9b077..149058c7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,14 +30,3 @@ jobs: RECEIVE_EMAIL: lsanchez@avilatek.dev LINK: https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }} uses: docker://lesanpi/email-deploy:v1.0.0 - # with: - # args: 'comando1 arg1 comando2 arg2' - - # runs-on: ubuntu-latest - # container: - # image: lesanpi/lark-release-version-card - # env: - # VERSION: ${{ github.ref_name }} - # LINK: https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }} - # RECEIVE_ID_TYPE: 'email' - # RECEIVE_ID: 'lsanchez@avilatek.dev' From c6aba6012967abf5c9f435ffda0b30ab60b84b4b Mon Sep 17 00:00:00 2001 From: Luis Date: Mon, 13 Jan 2025 11:18:09 -0400 Subject: [PATCH 16/18] feat: release notification email --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 149058c7..f3ce40e6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,9 +24,11 @@ jobs: --generate-notes - name: New release notification env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} POSTMARK_SERVER_TOKEN: ${{ secrets.POSTMARK_SERVER_TOKEN }} APP_NAME: Fullstack Template VERSION: ${{ github.ref_name }} RECEIVE_EMAIL: lsanchez@avilatek.dev + REPOSITORY: https://github.com/${{ github.repository }} LINK: https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }} - uses: docker://lesanpi/email-deploy:v1.0.0 + uses: docker://lesanpi/email-deploy:v1.1.0 From 23f92bcea7ad2670d0068662ef3069b756adb98b Mon Sep 17 00:00:00 2001 From: Luis Date: Mon, 13 Jan 2025 11:56:48 -0400 Subject: [PATCH 17/18] chore: bump noti version --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f3ce40e6..a8f85941 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -31,4 +31,4 @@ jobs: RECEIVE_EMAIL: lsanchez@avilatek.dev REPOSITORY: https://github.com/${{ github.repository }} LINK: https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }} - uses: docker://lesanpi/email-deploy:v1.1.0 + uses: docker://lesanpi/email-deploy:v1.1.1 From 3dbc0589be855ff2fbab8e714c68b5c9725b1fc6 Mon Sep 17 00:00:00 2001 From: Luis Date: Mon, 13 Jan 2025 11:59:38 -0400 Subject: [PATCH 18/18] chore: change noti email --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a8f85941..06da60a0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,7 +28,7 @@ jobs: POSTMARK_SERVER_TOKEN: ${{ secrets.POSTMARK_SERVER_TOKEN }} APP_NAME: Fullstack Template VERSION: ${{ github.ref_name }} - RECEIVE_EMAIL: lsanchez@avilatek.dev + RECEIVE_EMAIL: jose@avilatek.dev REPOSITORY: https://github.com/${{ github.repository }} LINK: https://github.com/${{ github.repository }}/releases/tag/${{ github.ref_name }} uses: docker://lesanpi/email-deploy:v1.1.1