Commit c9d48f6
cuiko
ci: Add tag-triggered release workflow
Bumping the version, committing, and tagging \`vx.y.z\` should be the
entire release ritual — the rest is mechanical. Add
\`.github/workflows/release.yml\` that fires on \`v*\` tag pushes, runs
\`make dist\` on a macos-14 runner, and creates a GitHub Release with
the DMG attached.
Release notes use \`gh release create --generate-notes\`, which derives
them from PR titles merged since the previous tag (same algorithm as
the "Generate release notes" button in the GitHub UI). This removes
the manual \`make dist\` + \`gh release create\` steps from the release
flow entirely.
The workflow needs \`contents: write\` to create the release; no other
permissions or secrets are required since \`GITHUB_TOKEN\` covers the
release API surface.1 parent 6da1494 commit c9d48f6
1 file changed
Lines changed: 26 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
0 commit comments