New version: timvw.wt 0.1.31 - #410145
Conversation
|
Validation Pipeline Run WinGetSvc-Validation-148-410145-20260730-1 |
|
Automatic Validation ended with:
7/30/2026 10:58:50 PM (Deterministic automation - build 1802.) |
The release workflow runs GoReleaser twice (core with --skip=winget, then best-effort winget-only), both with --clean. The second run rebuilds from scratch, and since archive members carried build/checkout mtimes the rebuilt archives hashed differently than the ones the first run had already uploaded to the GitHub release. The winget manifest is generated by the second run, so it shipped a hash no published asset matched -- microsoft/winget-pkgs#410145 was rejected with Error-Hash-Mismatch for 0.1.31. Pin the binary timestamp (mod_timestamp), add -trimpath, and pin the mtime of every archive member including the default LICENSE/README globs. Verified: two consecutive `goreleaser release --snapshot --clean` runs now produce byte-identical archives for all five targets; before this change the same two runs produced different hashes. Also migrates format/format_overrides.format to the plural `formats` form (singular deprecated since v2.6).
|
Fixed in 38a7c9e — Root cause was on our side: our release pipeline ran GoReleaser twice, and the second (winget-only) run rebuilt the archives from scratch. The rebuilt zip differed byte-wise from the one already uploaded to the GitHub release, so the generated manifest carried a hash no published asset matched. We've since made our archives reproducible (timvw/wt#121), so future manifests can't drift from the published assets. Ready for revalidation — thanks for the review. |
|
Closing in favour of #415345, which adds 0.1.33 and supersedes this one. The hash issue here was fixed, but 0.1.31 is no longer the version we want published — 0.1.33 is current, and its manifest is generated by a release pipeline that can no longer produce a mismatched hash. Apologies for the churn, and thanks for the validation feedback. |
Pull request was closed
📖 Description
✅ Checklist
📦 Manifest Checklist
winget validate --manifest <path>(validation guide)winget install --manifest <path>Automated with GoReleaser
Microsoft Reviewers: Open in CodeFlow