Commit 341f921
ci(release): build release notes from CHANGELOG and harden version expansion
Ports the ScheduledTasksManager release-tooling improvements into the template so
every module scaffolded from it inherits them.
- Create GitHub Release: extract the published version's section from CHANGELOG.md
and pass it via --notes-file (in pwsh), instead of --generate-notes. The latter
lists every merged PR since the last release tag, which between version bumps is
dominated by bot/CI/chore PRs and buries the actual user-facing changes. Includes
a Full Changelog compare link and falls back to --generate-notes if a version has
no changelog section (so a release is never blocked).
- Pass the version output via env (VERSION) in the 'Check if Release Exists',
'Check if PSGallery Version Exists', and 'Create GitHub Release' steps instead of
inlining ${{ steps.version.outputs.version }} into the run scripts. Inline
template expansion is substituted into the script text before the shell runs (a
template-injection vector zizmor/CodeRabbit flag); env vars are read at runtime.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ec17dd4 commit 341f921
1 file changed
Lines changed: 43 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| 57 | + | |
57 | 58 | | |
58 | | - | |
| 59 | + | |
59 | 60 | | |
60 | | - | |
| 61 | + | |
61 | 62 | | |
62 | 63 | | |
63 | | - | |
| 64 | + | |
64 | 65 | | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
68 | 69 | | |
69 | 70 | | |
| 71 | + | |
| 72 | + | |
70 | 73 | | |
71 | | - | |
| 74 | + | |
72 | 75 | | |
73 | 76 | | |
74 | 77 | | |
| |||
85 | 88 | | |
86 | 89 | | |
87 | 90 | | |
88 | | - | |
| 91 | + | |
89 | 92 | | |
90 | 93 | | |
| 94 | + | |
| 95 | + | |
91 | 96 | | |
92 | | - | |
93 | | - | |
94 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
95 | 130 | | |
96 | 131 | | |
97 | 132 | | |
| |||
0 commit comments