Commit b1a90ba
fix(release): scope snap to snap-publish.yml + don't double-publish (#11)
Two issues surfaced on the v0.2.0 tag's first run:
1. snap-publish.yml's "Build snap" step failed because electron-builder
detected the git tag and attempted an implicit publish to the Snap
Store from inside the build job. SNAPCRAFT_STORE_CREDENTIALS is
scoped to the dedicated publish-edge / publish-stable jobs only, so
the build's keyring lookup failed and the workflow died before the
snap was even uploaded as an artifact. Pass --publish never to the
build step; the dedicated publish jobs use snapcore/action-publish
with the credentials properly scoped.
2. release-linux's package step tried to build all three Linux targets
from the electron-builder.yml (AppImage, deb, snap), which is
redundant with snap-publish.yml AND triggers the same implicit-
publish behaviour. Pass an explicit "AppImage deb" target list so
this job only owns AppImage + deb. Snap is exclusively owned by
snap-publish.yml.
(The release-linux run for v0.2.0 also showed an AppImage cache rename
race during the snap step — moot once snap is removed from this job.
The actual AppImage and deb artefacts uploaded successfully and are on
the v0.2.0 GitHub Release page; this commit just stops the spurious
failure.)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent f7c1a7f commit b1a90ba
2 files changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
65 | 70 | | |
66 | 71 | | |
67 | 72 | | |
| |||
0 commit comments