mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2025-08-25 09:02:08 +08:00
Push Tags to Remote Repository
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user