change latest tag to v2.2.3-latest, won\'t conflict with 2.2.5 latest tag

This commit is contained in:
Lincoln Stein 2023-02-03 21:50:32 -05:00 committed by Eugene Brodsky
parent 50191774fc
commit 9ac81c1dc4

View File

@ -19,7 +19,7 @@ echo Building installer for version $VERSION
echo "Be certain that you're in the 'installer' directory before continuing."
read -p "Press any key to continue, or CTRL-C to exit..."
read -e -p "Commit and tag this repo with ${VERSION} and 'latest'? [n]: " input
read -e -p "Commit and tag this repo with ${VERSION} and 'v2.3-latest'? [n]: " input
RESPONSE=${input:='n'}
if [ "$RESPONSE" == 'y' ]; then
git commit -a
@ -28,7 +28,7 @@ if [ "$RESPONSE" == 'y' ]; then
echo "Existing/invalid tag"
exit -1
fi
git push origin :refs/tags/latest
git push origin :refs/tags/v2.3-latest
git tag -fa latest
fi