mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-11-06 02:08:05 +00:00
Push Tags to Remote Repository
This commit is contained in:
parent
956a47433b
commit
d4a53f1779
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user