File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -34,15 +34,15 @@ runs:
3434
3535 # Check if current commit has no tag at all
3636 if [ -z "$(git tag --points-at HEAD)" ]; then
37- echo "Creating and pushing tag ${TAG}"
38- git tag "${TAG}"
39- git push --atomic origin HEAD "${TAG}"
37+ echo "Creating and pushing tag v ${TAG}"
38+ git tag "v ${TAG}"
39+ git push --atomic origin HEAD "v ${TAG}"
4040 else
4141 echo "A tag already exists for this commit"
4242 fi
4343 else
4444 echo "Committing changes and pushing"
45- git commit -m "chore: bump version to ${TAG}" -m "[skip ci]"
46- git tag "${TAG}"
47- git push --atomic origin HEAD "${TAG}"
45+ git commit -m "chore: bump version to v ${TAG}" -m "[skip ci]"
46+ git tag "v ${TAG}"
47+ git push --atomic origin HEAD "v ${TAG}"
4848 fi
You can’t perform that action at this time.
0 commit comments