Skip to content

Commit 6ebd676

Browse files
committed
chore: drop release script in favor of RELEASE.md
1 parent c4bbb7f commit 6ebd676

2 files changed

Lines changed: 6 additions & 68 deletions

File tree

RELEASE.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@
88
4. Commit `src/`, `dist/`, and `package.json` together (the `check-dist`
99
workflow enforces that `dist/` matches `src/`) and push to `main`
1010
5. Wait for CI to go green on `main` before tagging
11-
6. Create a GitHub Release with tag `vX.Y.Z`
12-
7. Update the floating major tag:
11+
6. Create a GitHub Release with tag `vX.Y.Z`. Once published, this tag is
12+
immutable. Never force-push it.
13+
7. Update the floating major tag. Force-pushing this one is intentional:
1314
```bash
1415
git tag -fa v1 -m "Update v1 to vX.Y.Z"
1516
git push origin v1 --force
1617
```
18+
`v1` is the only tag that ever gets force-pushed. Running
19+
`git push origin vX.Y.Z --force` would silently rewrite a published
20+
release.
1721

1822
## Versioning
1923

script/release

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)