Repository navigation
Commit 218efca
authored
fix(ci): publish when the release PR merges, not when a changeset lands (#8)
changesets/action runs `changeset version` in the working directory before it
pushes the release branch, so the publish step that follows it in the same job
sees a tree that is already bumped. 0.2.0 went out the moment #6 merged, while
its release PR was still open - and that PR's own run then had nothing left to
do. Gating on `has-changesets` puts the release back behind the merge.1 parent e5168f0 commit 218efca
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
38 | 39 | | |
39 | 40 | | |
40 | 41 | | |
| |||
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
0 commit comments