Tag the current commit with a release version.
Section: Release and versioning targets
Create Git tag
makefile
makefile
tag-release:
git tag v$(VERSION)
git push origin v$(VERSION)Explanation
Pair with required-variable guards.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Release and versioning targets
Generate changelog snippet
Capture commit history since the last tag.
Generate version file
Write current version metadata into an artifact.