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:
Paul Ebose 2024-07-01 02:41:04 +01:00
parent 35b1cc8b7b
commit 4b33f5f5b1
No known key found for this signature in database
GPG Key ID: 2FF647AADFAC0FE8

View File

@ -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}"