use elif
Some checks failed
Autotagger / Autotagger (push) Failing after 3s
Build / Documentation (push) Successful in 12s
Build / Export Files (push) Successful in 4s

This commit is contained in:
SeaswimmerTheFsh 2024-03-11 21:39:18 -04:00
parent 23d9e9709a
commit 97efdf8f19
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
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"