allow forcing preview tag update

This commit is contained in:
Jonathan Shook 2023-01-25 19:52:05 -06:00
parent 2a43dd0773
commit be65f812e0

View File

@ -6,5 +6,10 @@ RELEASE_VERSION=${CURRENT_VERSION%%-SNAPSHOT}
PREVIEW_TAG="${RELEASE_VERSION}-preview"
printf "preview tag: '%s'\n" "${PREVIEW_TAG}"
git tag "${PREVIEW_TAG}"
if [ "$1" == "-f" ]
then
git tag -f "${PREVIEW_TAG}"
else
git tag "${PREVIEW_TAG}"
fi