Commit 8ff385f
ci(release): build CLI artifacts inline with release-please
When release-please-action creates the GitHub Release using the default
GITHUB_TOKEN, the resulting tag push does NOT fire downstream workflows
listening on `on: push: tags` — GitHub's anti-recursion guard. The repo
worked around this by setting RELEASE_PLEASE_TOKEN to a PAT for v0.1.0
through v0.1.4, but that token has apparently expired: v0.1.5 was cut on
2026-05-14 with no artifacts attached.
Move the GoReleaser job into release-please.yml as a second job gated on
the action's `release_created` output. Now artifacts ship in the same
workflow that cut the release — no cross-workflow token dance, no PAT
maintenance burden.
Keep release-cli.yml as a fallback path with both `push: tags` and a new
`workflow_dispatch` (with a `tag` input). The dispatch path makes it
trivial to backfill artifacts on a release that missed them.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>1 parent f0434fa commit 8ff385f
2 files changed
Lines changed: 55 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
3 | 11 | | |
4 | 12 | | |
5 | 13 | | |
6 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
7 | 21 | | |
8 | 22 | | |
9 | 23 | | |
| |||
15 | 29 | | |
16 | 30 | | |
17 | 31 | | |
| 32 | + | |
18 | 33 | | |
19 | 34 | | |
20 | 35 | | |
| |||
33 | 48 | | |
34 | 49 | | |
35 | 50 | | |
36 | | - | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
28 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
0 commit comments