Skip to content

fix(release): select host archive in release smoke#42

Merged
JSONbored merged 1 commit into
mainfrom
codex/fix-release-smoke-host-asset
May 5, 2026
Merged

fix(release): select host archive in release smoke#42
JSONbored merged 1 commit into
mainfrom
codex/fix-release-smoke-host-asset

Conversation

@JSONbored
Copy link
Copy Markdown
Owner

Summary

  • install/use local cosign-compatible release smoke path by making the script select the host archive
  • keep CI behavior on Linux while allowing macOS arm64 local release smoke to execute the matching release binary

What changed

  • map uname OS/architecture to Nightward release asset names
  • support tar.gz archives for Linux/macOS and zip archives for Windows shell environments
  • add release-script fixture checks against hardcoded linux_amd64 smoke assets

Why

  • local release verification should work without bypasses; after installing cosign, the previous script still downloaded a Linux amd64 binary that cannot execute on this macOS arm64 machine

Validation

  • cosign version
  • bash scripts/test-release-scripts.sh
  • bash scripts/smoke-release-archive.sh v0.1.8
  • trunk check --show-existing --fix --all
  • trunk check --show-existing --all

Signed-off-by: JSONbored <49853598+JSONbored@users.noreply.github.com>
@JSONbored JSONbored merged commit 800d38a into main May 5, 2026
15 checks passed
@JSONbored JSONbored deleted the codex/fix-release-smoke-host-asset branch May 5, 2026 22:04
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