Skip to content

Commit b470072

Browse files
authored
Fix dynamic tag name
1 parent dccbe8c commit b470072

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
@@ -42,8 +42,8 @@ jobs:
4242
MAJOR=${VERSION%%.*}
4343
git config --global user.name 'GitHub Actions'
4444
git config --global user.email '[email protected]'
45-
git tag -fa "v${MAJOR}" -m 'Update major version tag with $VERSION'
46-
git push origin "v${MAJOR}" --force
45+
git tag -fa "${MAJOR}" -m 'Update major version tag with $VERSION'
46+
git push origin "${MAJOR}" --force
4747
4848
- name: Create a GitHub release
4949
uses: ncipollo/release-action@v1

0 commit comments

Comments
 (0)