mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-21 16:13:12 +09:00
Stop prepare_release on changelog problems unless --force
generateReleaseNotes() returns the errors and warnings from the pull request changelogs instead of printing them. prepare_release.mts lists them and aborts before touching any file, --force continues anyway. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8e01a96df9
commit
3ca203c753
3 files changed
+28
-8
No files matched your search
@@ -38,6 +38,8 @@ The steps below describe publishing npm packages manually instead.
|
||||
It sets the version in the `package.json` files under `packages/` and `plugins/`, adds the changelog from merged pull requests to the top of CHANGELOG.md, commits it as "Prepare 2.0.2" and tags that commit `v2.0.2`.
|
||||
Nothing is pushed.
|
||||
It also prints the GitHub Release Markdown for the release notes.
|
||||
If a merged pull request has a missing or malformed changelog section, the script lists the problems and stops before changing anything.
|
||||
Fix the pull request description and run it again, or pass `--force` to continue anyway. Entries with warnings are kept, pull requests whose changelog section could not be read are left out.
|
||||
|
||||
```sh
|
||||
node scripts/prepare_release.mts 2.0.2
|
||||
|
||||
Reference in new issue
Block a user