New-Release Mark the current saved point as a named release version.
Description
New-Release creates a permanent, annotated marker at the current saved point - the GitEasy term for what Git calls an "annotated tag". Use it to stamp a release version (v1.0.0, v1.5.0, etc.) with a note that travels alongside the project.
By default, New-Release also publishes the marker to the project's published location. Use -NoPush to keep it local. If a release of the same version already exists, New-Release refuses to overwrite unless you pass -Force.
Each invocation writes a self-contained diagnostic log file. Successful runs log silently; failures throw a plain-English message and point at the log file with the technical detail.
Recipes
New-Release -Version v1.5.0 -Note 'Phase 15 complete: ...'
New-Release v1.5.0 'phase 15' -NoPush
New-Release -Version v1.5.0 -Note 'corrected release note' -Force
Notes
Safety:
- Refuses to run during an unfinished merge, rebase, cherry-pick, revert, or bisect.
- Refuses to run while there are unfinished conflicts.
- Refuses to overwrite an existing release without -Force.
- Writes the release note without UTF-8 BOM.
Parameters
Was this page helpful? Report an issue or suggest an improvement →