update release script for first time use

This commit is contained in:
GrantBirki 2023-10-31 17:55:51 -06:00
parent a71e85eba6
commit 78a046bc59
No known key found for this signature in database
GPG Key ID: 9029BBCCC15C6F8C

View File

@ -19,6 +19,13 @@ GREEN='\033[0;32m'
BLUE='\033[0;34m'
latest_tag=$(git describe --tags $(git rev-list --tags --max-count=1))
# if the latest_tag is empty, then there are no tags - let the user know
if [[ -z "$latest_tag" ]]; then
echo -e "No tags found (yet) - continue to create your first tag and push it"
latest_tag="[unknown]"
fi
echo -e "The latest release tag is: ${BLUE}${latest_tag}${OFF}"
read -p 'New Release Tag (vX.X.X format): ' new_tag