✅ Push release tags to commit
Closed this issue · 1 comments
sydrawat01 commented
Use the semantic-release/exec
plugin to configure pushing tags to commits.
["@semantic-release/exec", {
"prepareCmd": "git push --tags"
}]
User should be able to use git tag -l
to list all tags for the current repository.
sydrawat01 commented
Use git fetch upstream 'refs/tags/*:refs/tags/*'
command to fetch tags from the remote upstream, then use git tag -l
or git tag -ln
to see tags.
These tags will then be visible in git log
command as well, right next to the commit hash.