Commit db2af9a
committed
ci(release): auto-publish releases with CHANGELOG-driven notes
Restructures release.yml so a pushed v* tag produces a published release
with notes lifted straight from CHANGELOG.md, not a draft sitting forever.
notes Extracts the '## [X.Y.Z]' section from CHANGELOG.md and
exposes it as a step output. Fails loudly with an ::error::
directive when the section is missing, so a tag push with no
CHANGELOG update no longer produces a release with a generic
placeholder body.
build-* macOS / Linux / Windows builds, now reading
needs.notes.outputs.body for the release body instead of a
hardcoded 'See the assets below' string.
publish New job, depends on all three builds. Runs
'gh release edit --draft=false --latest', flipping the draft
that tauri-action created into a public release marked as
latest.
Adds workflow_dispatch with a 'version' input for dry-running just the
notes job (build matrix + publish are gated by github.event_name == 'push').
Lets maintainers validate CHANGELOG slicing without doing a real release.1 parent 276f438 commit db2af9a
1 file changed
Lines changed: 75 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
7 | 13 | | |
8 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 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 | + | |
9 | 58 | | |
| 59 | + | |
| 60 | + | |
10 | 61 | | |
11 | 62 | | |
12 | 63 | | |
| |||
37 | 88 | | |
38 | 89 | | |
39 | 90 | | |
40 | | - | |
| 91 | + | |
41 | 92 | | |
42 | 93 | | |
43 | 94 | | |
44 | 95 | | |
| 96 | + | |
| 97 | + | |
45 | 98 | | |
46 | 99 | | |
47 | 100 | | |
| |||
77 | 130 | | |
78 | 131 | | |
79 | 132 | | |
80 | | - | |
| 133 | + | |
81 | 134 | | |
82 | 135 | | |
83 | 136 | | |
84 | 137 | | |
| 138 | + | |
| 139 | + | |
85 | 140 | | |
86 | 141 | | |
87 | 142 | | |
| |||
112 | 167 | | |
113 | 168 | | |
114 | 169 | | |
115 | | - | |
| 170 | + | |
116 | 171 | | |
117 | 172 | | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
0 commit comments