Skip to content

Commit

Permalink
chore: test auto create github release
Browse files Browse the repository at this point in the history
  • Loading branch information
huynguyen-hl committed Jun 28, 2024
1 parent 693de67 commit b9f415a
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/tag-main-branch.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Tag Main Branch
on:
push:
branches:
- main
- chore/auto-tagging
workflow_dispatch:

permissions:
Expand Down Expand Up @@ -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

0 comments on commit b9f415a

Please sign in to comment.