Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/workflows/versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
update-major-tag:
name: Update major tag
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v5
Expand All @@ -31,6 +33,8 @@ jobs:
MAJOR=$(expr "$NEW_TAG" : '\(v[0-9][0-9]*\)\.[0-9][0-9]*\.[0-9][0-9]*$')
[ -z "$MAJOR" ] && exit 20

echo "Creating tag $MAJOR pointing to $NEW_TAG ..."

git fetch --tags
git tag -f "$MAJOR" "$NEW_TAG"
git push origin "$MAJOR" --force