Merge PR #53: Add release-tag automation helper
Merge reviewed PR #53 for issue #50. Validation passed and no release tags were created or pushed during review.
This commit was merged in pull request #53.
This commit is contained in:
@@ -274,3 +274,9 @@ Release process (see [`templates/release-tag.md`](templates/release-tag.md)):
|
||||
6. Create the annotated tag on remote `master` with release notes.
|
||||
7. Push the tag.
|
||||
8. Create/update release notes if the forge supports it.
|
||||
|
||||
Where present, `scripts/release-tag` automates this with all gates built in
|
||||
(SemVer, fetch/prune, on-master, clean tree, local==remote master, HEAD on
|
||||
remote master, no duplicate tag, tests, annotated-only). Safe by default: no
|
||||
push without `--push`; `--dry-run` changes nothing; `--skip-tests` must be
|
||||
explicit and warns.
|
||||
|
||||
@@ -3,6 +3,18 @@
|
||||
Copy, fill the `<...>` fields, and paste as the task prompt. Tagging is
|
||||
irreversible-ish and outward-facing — fail closed on any doubt.
|
||||
|
||||
> If the project ships `scripts/release-tag`, prefer it — it enforces every gate
|
||||
> below automatically and is safe by default (no push without `--push`,
|
||||
> `--dry-run` changes nothing):
|
||||
>
|
||||
> ```bash
|
||||
> scripts/release-tag --dry-run <vX.Y.Z>
|
||||
> scripts/release-tag <vX.Y.Z> --notes-file <path>
|
||||
> scripts/release-tag <vX.Y.Z> --notes-file <path> --push
|
||||
> ```
|
||||
>
|
||||
> The manual steps below are the fallback / what the script does.
|
||||
|
||||
```text
|
||||
Task: cut release <vX.Y.Z> from master.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user