Skip to content

Use the selected package version for updates - #52

Merged
nunreasonable merged 1 commit into
nunreasonable:mainfrom
rubenmarcus:fix/release-package-version
Nov 8, 2026
Merged

nunreasonable merged 1 commit into
nunreasonable:mainfrom
rubenmarcus:fix/release-package-version

Conversation

@rubenmarcus

Copy link
Copy Markdown
Contributor

Summary

  • derive ReleaseInfo.version from the ZIP actually selected instead of assuming it matches the release tag
  • deliver hotfixes when a tag contains a newer -fixN package and avoid repeated offers for stale packages
  • reject tag builds whose VERSION is older than the tag while allowing equal and newer hotfix versions
  • document the tag/package version contract

Tests

  • cargo test --locked -p iiw-setup-core: 74 tests passed
  • release.sh smoke: equal tag and -fix1 package succeed; older package is rejected before packaging
  • independent review found no actionable issues

AI and files

  • Model: kimi-code/k3.1-pro
  • Files: installer/core/src/release.rs, tools/release.sh, docs/PORTING.md

Model: kimi-code/k3.1-pro\nFiles: installer/core/src/release.rs, tools/release.sh, docs/PORTING.md\nAgent: omp
Signed-off-by: rubenmarcus <rubenmarcus.dev@gmail.com>
@rubenmarcus

Copy link
Copy Markdown
Contributor Author

Validation is complete: x64/ARM64 builds, setup tests and all Windows smoke jobs are green.
The new release tests cover hotfix and stale-package selection; the release.sh smoke covered equal, -fix1 and older VERSION values.
No review comments or remaining gate failures are pending.

@nunreasonable
nunreasonable merged commit 45c3c83 into nunreasonable:main Nov 8, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants