feat(installer): produce a verified deployment package for release builds

- Build-Installer.ps1 -Version now assembles Output\Release-<v>\ (installer,
  release-manifest.json, RELEASE-NOTES.md from both repos' Changelogs,
  SHA256SUMS.txt) and RynthCore-<v>-deploy.zip, re-verified after zipping.
- Release builds refuse uncommitted tracked changes (-AllowDirty overrides);
  -NoPackage skips the package.
- Fix: previous-release archive only takes RynthCore-Setup.exe when its
  ProductVersion matches the previous version.
- Fix: Publish-Update.ps1 reads RynthAi from staging\suite\RynthAi and uses
  the versioned installer.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
BlankenshipG 2026-10-04 16:45:07 -04:00
commit 0ce2091065
4 changed files with 272 additions and 6 deletions

View file

@ -9,6 +9,9 @@
RynthAi, the Loot/Monster editors and the experimental plugins (incl. ub-Rythai), stages
them, archives the previous installer when -Version changes, and compiles RynthCore.iss
into installer\Output\RynthCore-Setup-<version>.exe (requires Inno Setup 6).
3. With -Version, Build-Installer.ps1 also assembles the deployment package
installer\Output\Release-<version>\ and installer\Output\RynthCore-<version>-deploy.zip
(installer + SHA256SUMS.txt + release-manifest.json + RELEASE-NOTES.md, hash-verified).
.PARAMETER Version
Installer version (e.g. 2026.10.4.7). Passed through to Build-Installer.ps1.