use elif instead of else if
This commit is contained in:
parent
5a9b96f81a
commit
4921ee22eb
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Reference in a new issue