We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b50144b commit ea81f83Copy full SHA for ea81f83
1 file changed
bump-tag.sh
@@ -112,6 +112,7 @@ fi
112
113
BRANCH="$(git rev-parse --abbrev-ref HEAD)"
114
115
+
116
echo "Latest branch: $BRANCH"
117
echo "Latest tag: $LATEST_TAG"
118
echo "New tag: $NEW_TAG (files will use ${NEW_FILE_VER})"
@@ -138,11 +139,14 @@ fi
138
139
140
# Run tests/builds (non-fatal for Python tests)
141
142
143
# Commit, tag and push
144
+NEW_TAG="v${NEW_TAG}"
145
git commit -m "chore(release): bump to ${NEW_TAG}" || echo "No changes to commit"
146
git tag -a "${NEW_TAG}" -m "Release ${NEW_TAG}"
-echo "Created tag. Please push tag ${NEW_TAG} on branch ${BRANCH}."
147
148
+echo "Created tag. Please push tag ${NEW_TAG} on branch ${BRANCH}."
149
+echo "To push, run:"
150
echo git push origin "${BRANCH}"
151
echo git push origin "${NEW_TAG}"
152
0 commit comments