1
0
mirror of https://github.com/stefanzweifel/git-auto-commit-action.git synced 2026-02-02 21:27:14 +08:00

Push Tags to Remote Repository

This commit is contained in:
Stefan Zweifel
2020-03-05 20:28:38 +01:00
parent 956a47433b
commit d4a53f1779

View File

@@ -62,9 +62,9 @@ _local_commit() {
_push_to_github() {
if [ -z "$INPUT_BRANCH" ]
then
git push origin
git push origin --tags
else
git push --set-upstream origin "HEAD:$INPUT_BRANCH"
git push --set-upstream origin "HEAD:$INPUT_BRANCH" --tags
fi
}