-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
dcd573b
commit 044dfaa
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Update release tags | ||
# Only run when new semver tag is pushed | ||
on: | ||
push: | ||
tags: | ||
# If prepend-v is false, switch to '[0-9]+.[0-9]+.[0-9]+' (including the quotes!) | ||
- v[0-9]+.[0-9]+.[0-9]+ | ||
# To trigger on pre-releases (requires update-minor to be true), also add | ||
# this line, or '[0-9]+.[0-9]+.[0-9]+-*' (with quotes) if prepend-v is false | ||
- v[0-9]+.[0-9]+.[0-9]+-* | ||
jobs: | ||
update-release-tags: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: bewuethr/release-tracker-action@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
update-latest: true | ||
update-minor: true | ||
prepend-v: true |