Commit 021197c
authored
fix(release): remove --tag alpha flag from release:alpha script (#80)
* fix(release): remove --tag alpha flag from release:alpha script
The release:alpha script passed --tag alpha to changeset publish, but
this conflicts with changesets prerelease mode (pre.json has tag alpha
already set). This was previously fixed in PR #53 but regressed in
commit 816a882.
In prerelease mode, changeset publish uses the tag defined in
pre.json automatically. Passing --tag explicitly causes:
error: Releasing under custom tag is not allowed in pre mode
* docs: update release:alpha command in Release-Readiness.md
Remove instruction that release:alpha must pass --tag alpha to
changeset publish. While in prerelease mode, the tag is controlled
by .changeset/pre.json and changeset rejects explicit --tag.1 parent 44c1339 commit 021197c
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
223 | 223 | | |
224 | 224 | | |
225 | 225 | | |
226 | | - | |
| 226 | + | |
| 227 | + | |
227 | 228 | | |
228 | 229 | | |
229 | 230 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
0 commit comments