Commit a779da4
committed
ci(release): exit changeset pre mode before snapshot prerelease
The prerelease snapshot path fails with 'Snapshot release is not allowed
in pre mode' whenever main carries an active .changeset/pre.json (e.g.
during an in-progress RC cycle). Conditionally run 'changeset pre exit'
before the snapshot step so the prerelease job can produce snapshot
versions without affecting the persisted pre-mode state on main.1 parent 2f261e5 commit a779da4
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
305 | 312 | | |
306 | 313 | | |
307 | 314 | | |
| |||
0 commit comments