Skip to content

Commit e10fcd1

Browse files
committed
tools/release.sh: Tag using lowercase!
1 parent d6d7b54 commit e10fcd1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tools/release.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,11 @@ echo
2323

2424
if [ "$VERSION" != "$TAG" ]; then
2525
if [ "$1" != "-f" ]; then
26+
VERSION_LOWER=`echo "$VERSION" | sed -e "s/[A-Z]/\L&/g"`
2627
echo "Mismatch! Use '-f' to ignore. Will use Makefile version # ($VERSION)"
2728
echo "Or, if you're ready, run:"
28-
echo " git tag $VERSION"
29-
echo " git push origin $VERSION"
29+
echo " git tag $VERSION_LOWER"
30+
echo " git push origin $VERSION_LOWER"
3031
echo
3132
echo "Here is the current 'git status':"
3233
echo "------------------------------------------------------------------------"

0 commit comments

Comments
 (0)