Commit 2bd7488
fix(ci): work around changesets/action cwd bug for cli release
changesets/action@v1's early "is there a .changeset directory?" check
ignores its own \`cwd\` input and looks at the workspace root. Since
ours lives at cli/.changeset/, the action errored out before doing
anything useful.
Workaround: symlink .changeset → cli/.changeset at the root in the
workflow, and gitignore that root path so a slip-up never commits the
symlink. version + publish still run with cwd=cli, so they see the
real directory.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 3411975 commit 2bd7488
2 files changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
51 | 60 | | |
52 | 61 | | |
53 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
0 commit comments