csye7125-fall2023-group05/infra-helm-chart

✅ Push release tags to commit

Closed this issue · 1 comments

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.

reference

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.