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.
OpenIn sheetmakefilesame section
Generate version file
Write current version metadata into an artifact.
OpenIn sheetmakefilesame section
Help target
List available targets and descriptions.
OpenIn sheetmakefile
Node.js targets
Lint, test, and build JavaScript or TypeScript projects.
OpenIn sheetmakefile
Docker build target
Build a container image with a version tag.
OpenIn sheetmakefile
Bootstrap target
Install development dependencies and prepare local state.
OpenIn sheetmakefile