Skip to content

Ship the installer this run built, not whatever the cache held - #10

Merged
thorstenalpers merged 2 commits into
mainfrom
release-ship-what-it-built
Aug 31, 2026
Merged

Ship the installer this run built, not whatever the cache held#10
thorstenalpers merged 2 commits into
mainfrom
release-ship-what-it-built

Conversation

@thorstenalpers

Copy link
Copy Markdown
Owner

What broke

The v1.0.0 release shipped with two installers inside — this run's 1.0.0 and the 0.1.0 the cargo cache had carried over in target/release/bundle/. The *-setup.exe glob matched both, Select-Object -First 1 picked the one that sorts first, and latest.json ended up claiming version 1.0.0 while pointing at the 0.1.0 installer. The in-app updater then dutifully downloaded, verified and installed the old version: update "works", app stays old.

The fix

  • The bundle directory the cache restored is deleted before the build.
  • latest.json and the release upload name the installer outright — OpenEventViewer_<version>_x64-setup.exe — so a stray file is a hard failure (fail_on_unmatched_files), never a silently wrong manifest.

🤖 Generated with Claude Code

@thorstenalpers
thorstenalpers merged commit 9ecdaea into main Aug 31, 2026
2 checks passed
@thorstenalpers
thorstenalpers deleted the release-ship-what-it-built branch August 31, 2026 17:45
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.

1 participant