mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2025-08-26 09:42:10 +08:00
Fix _tag_commit
This commit is contained in:
@@ -62,10 +62,8 @@ _local_commit() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
_tag_commit() {
|
_tag_commit() {
|
||||||
if [ -z "$INPUT_TAGGING_MESSAGE" ]
|
if [ -n "$INPUT_TAGGING_MESSAGE" ]
|
||||||
then
|
then
|
||||||
# No tag name given. Do nothing.
|
|
||||||
else
|
|
||||||
git tag -a "$INPUT_TAGGING_MESSAGE" -m "$INPUT_TAGGING_MESSAGE"
|
git tag -a "$INPUT_TAGGING_MESSAGE" -m "$INPUT_TAGGING_MESSAGE"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user