Skip to content

Commit ea81f83

Browse files
committed
v prefix
1 parent b50144b commit ea81f83

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

bump-tag.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ fi
112112

113113
BRANCH="$(git rev-parse --abbrev-ref HEAD)"
114114

115+
115116
echo "Latest branch: $BRANCH"
116117
echo "Latest tag: $LATEST_TAG"
117118
echo "New tag: $NEW_TAG (files will use ${NEW_FILE_VER})"
@@ -138,11 +139,14 @@ fi
138139

139140
# Run tests/builds (non-fatal for Python tests)
140141

142+
141143
# Commit, tag and push
144+
NEW_TAG="v${NEW_TAG}"
142145
git commit -m "chore(release): bump to ${NEW_TAG}" || echo "No changes to commit"
143146
git tag -a "${NEW_TAG}" -m "Release ${NEW_TAG}"
144-
echo "Created tag. Please push tag ${NEW_TAG} on branch ${BRANCH}."
145147

148+
echo "Created tag. Please push tag ${NEW_TAG} on branch ${BRANCH}."
149+
echo "To push, run:"
146150
echo git push origin "${BRANCH}"
147151
echo git push origin "${NEW_TAG}"
148152

0 commit comments

Comments
 (0)