Fix _tag_commit

This commit is contained in:
Stefan Zweifel 2020-03-05 20:35:32 +01:00
parent 3387b2f267
commit 0ad4c8ce73

View File

@ -62,10 +62,8 @@ _local_commit() {
}
_tag_commit() {
if [ -z "$INPUT_TAGGING_MESSAGE" ]
if [ -n "$INPUT_TAGGING_MESSAGE" ]
then
# No tag name given. Do nothing.
else
git tag -a "$INPUT_TAGGING_MESSAGE" -m "$INPUT_TAGGING_MESSAGE"
fi
}