Skip to content

Commit

Permalink
Enhace tag creation workflows (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
spartan-ductduong authored Sep 17, 2024
1 parent de5bc5d commit 710661e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/auto-generate-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,16 @@ jobs:
fi
continue-on-error: true

- uses: taiki-e/create-gh-release-action@v1
- name: Generate release
uses: taiki-e/create-gh-release-action@v1
if: ${{ success() }}
with:
changelog: CHANGELOG.md
title: $version
branch: 'master|v[0-9]+'
token: ${{ steps.github-app-token.outputs.token }}

- name: Create or update major tag
uses: Actions-R-Us/actions-tagger@v2
with:
publish_latest_tag: true
5 changes: 0 additions & 5 deletions tools/create_release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,3 @@ STRIPPED_PATCH_VERSION="${RELEASE_VERSION%.*}"

git tag -f "$STRIPPED_PATCH_VERSION" "$RELEASE_VERSION"
git push origin "$STRIPPED_PATCH_VERSION" --force

STRIPPED_MINOR_VERSION="${STRIPPED_PATCH_VERSION%.*}"

git tag -f "$STRIPPED_MINOR_VERSION" "$STRIPPED_MINOR_VERSION"
git push origin "$STRIPPED_MINOR_VERSION" --force

0 comments on commit 710661e

Please sign in to comment.