use `--follow-tags` flag to push to remote
- Using `--follow-tags` instead of `--tags` can be the saner option - `follow-tags` also pushes commits
This commit is contained in:
parent
35b1cc8b7b
commit
4b33f5f5b1
|
@ -59,6 +59,6 @@ git tag -a "$new_tag" -m "$new_tag Release"
|
|||
echo -e "${GREEN}Tagged: $new_tag${OFF}"
|
||||
|
||||
# Push the new tag to the remote
|
||||
git push --tags
|
||||
git push --follow-tags
|
||||
echo -e "${GREEN}Release tag pushed to remote${OFF}"
|
||||
echo -e "${GREEN}Done!${OFF}"
|
||||
|
|
Loading…
Reference in New Issue