Commit 3045ecb
fix: re-checkout before snapshot publish to prevent version collision
The changesets action consumes changeset files when creating the Release
PR, so the subsequent `changeset version --snapshot next` finds nothing
and publishes full release versions to the `next` tag. This causes the
actual release publish to skip those versions since they already exist
on npm.
Adding a fresh checkout + install before the snapshot step restores the
changeset files so proper snapshot versions are generated.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 1a5b0ed commit 3045ecb
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
40 | 49 | | |
41 | 50 | | |
42 | 51 | | |
| |||
0 commit comments