use elif instead of else if
All checks were successful
Autotagger / Autotagger (push) Successful in 5s
Build / Documentation (push) Successful in 13s
Build / Export Files (push) Successful in 4s

This commit is contained in:
SeaswimmerTheFsh 2024-03-11 21:33:49 -04:00
parent 5a9b96f81a
commit 4921ee22eb
Signed by: cswimr
GPG key ID: B8953EC01E5C4063

View file

@ -31,7 +31,7 @@ jobs:
if [ $OUTPUT == "Usage: python message.py <commit_message>"]; then
echo "Called without commit message!"
exit 1
else if [ $OUTPUT == "None"]; then
elif [ $OUTPUT == "None"]; then
echo "::set-output name=latest_tag::$(git describe --tags --abbrev=0)"
else
echo "::set-output name=version::$OUTPUT"