Skip to content

Commit d5a8ecd

Browse files
authored
Fix dynamic tag name
1 parent 559c84a commit d5a8ecd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ jobs:
4141
MAJOR=${VERSION%%.*}
4242
git config --global user.name 'GitHub Actions'
4343
git config --global user.email '[email protected]'
44-
git tag -fa "${MAJOR}" -m 'Update major version tag with $VERSION'
45-
git push origin "${MAJOR}" --force
44+
git tag -fa "v${MAJOR}" -m 'Update major version tag with $VERSION'
45+
git push origin "v${MAJOR}" --force
4646
4747
- name: Create a GitHub release
4848
uses: ncipollo/release-action@v1

0 commit comments

Comments
 (0)