Skip to content

Commit

Permalink
Merge pull request #266 from metcalfc/fix-version-tag
Browse files Browse the repository at this point in the history
Fix version tag issue and update workflows
  • Loading branch information
metcalfc authored Dec 14, 2024
2 parents 997ded8 + d9667ba commit 1355d7f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,10 @@ jobs:
name: Release ${{ github.ref }}
body: ${{ steps.changelog.outputs.changelog }}
token: ${{ secrets.GITHUB_TOKEN }}
- name: Update Major Version Tag
run: |
MAJOR_VERSION=v$(echo "${{ github.ref }}" | grep -oE '^v[0-9]+')
git tag -f $MAJOR_VERSION
git push origin $MAJOR_VERSION --force
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 1355d7f

Please sign in to comment.