chore: list Renovate's security updates in the changelog (#97)
Renovate's dependency updates for a vulnerability (`[security]` in the title) now get a Security section in the changelog and release notes, so a release with only a security fix has notes and isn't refused by `release.sh`. The next release regenerates CHANGELOG.md, so the earlier security updates (#42, #46, #47, #48, #94) show up under their releases there too. Reviewed-on: #97 Co-authored-by: Karl-Einar Bergstrøm <karl-einarb@outlook.com>
This commit was merged in pull request #97.
This commit is contained in:
1 parent
dd80607d0b
commit
3d23c47f66
3 files changed
+9
-4
No files matched your search
+1
-1
@@ -55,7 +55,7 @@ echo "$tag$bumped"
|
||||
|
||||
notes=$(git cliff --unreleased --tag "$tag" --strip all)
|
||||
if ! grep -q '^- ' <<<"$notes"; then
|
||||
echo "Nothing for the changelog since the last release (no feat/fix/perf pull requests)." >&2
|
||||
echo "Nothing for the changelog since the last release (no feat/fix/perf or [security] pull requests)." >&2
|
||||
$dry || exit 1
|
||||
fi
|
||||
echo "$notes"
|
||||
|
||||
Reference in new issue
Block a user