From b9f415ab63e8a923c747656c6452bc0cff424c75 Mon Sep 17 00:00:00 2001 From: Huy Nguyen Date: Fri, 28 Jun 2024 16:30:13 +0700 Subject: [PATCH] chore: test auto create github release --- .github/workflows/tag-main-branch.yaml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tag-main-branch.yaml b/.github/workflows/tag-main-branch.yaml index 59876b6e..7318ac9f 100644 --- a/.github/workflows/tag-main-branch.yaml +++ b/.github/workflows/tag-main-branch.yaml @@ -3,7 +3,7 @@ name: Tag Main Branch on: push: branches: - - main + - chore/auto-tagging workflow_dispatch: permissions: @@ -90,3 +90,13 @@ jobs: run: | git tag $TAG_NAME git push origin $TAG_NAME + + - name: Create GitHub Release + uses: ncipollo/release-action@v1 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + tag: "v${{ env.version }}" + name: "Release v${{ env.version }}" + generateReleaseNotes: true + prerelease: false \ No newline at end of file