Skip to content

Commit

Permalink
ci(workflow): use EndBug's action to update tags
Browse files Browse the repository at this point in the history
  • Loading branch information
rhenwinch committed Jun 13, 2024
1 parent 5c1484c commit b1f7a39
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,11 @@ jobs:
echo "Version: $version"
echo "VERSION=$version" >> $GITHUB_ENV
- name: Update old pre-release tag
uses: EndBug/latest-tag@latest
with:
tag-name: pre-release

- name: Generate changelogs
uses: ardalanamini/auto-changelog@v4
id: changelog
Expand All @@ -87,14 +92,6 @@ jobs:
default-commit-type: 📝 Other Changes
semver: false

- name: Update old pre-release tag
uses: jay2610/[email protected]
with:
keep_latest: 0
delete_type: 'prerelease'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Upload new pre-release
uses: softprops/action-gh-release@v2
with:
Expand Down

0 comments on commit b1f7a39

Please sign in to comment.