We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 997ded8 + d9667ba commit 1355d7fCopy full SHA for 1355d7f
.github/workflows/release.yml
@@ -25,3 +25,10 @@ jobs:
25
name: Release ${{ github.ref }}
26
body: ${{ steps.changelog.outputs.changelog }}
27
token: ${{ secrets.GITHUB_TOKEN }}
28
+ - name: Update Major Version Tag
29
+ run: |
30
+ MAJOR_VERSION=v$(echo "${{ github.ref }}" | grep -oE '^v[0-9]+')
31
+ git tag -f $MAJOR_VERSION
32
+ git push origin $MAJOR_VERSION --force
33
+ env:
34
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
0 commit comments