Skip to content

chore(binstall): standardize on zip for Windows artifacts#156

Merged
vampik33 merged 1 commit into
mainfrom
chore/binstall-windows-zip
May 11, 2026
Merged

chore(binstall): standardize on zip for Windows artifacts#156
vampik33 merged 1 commit into
mainfrom
chore/binstall-windows-zip

Conversation

@vampik33
Copy link
Copy Markdown
Contributor

Summary

  • Workflow caller: add windows-archive-format: zip so the tag-triggered release-binaries job produces .zip for both Windows targets.
  • Cargo.toml: add [package.metadata.binstall.overrides.*-pc-windows-msvc] blocks so cargo binstall resolves to .zip on Windows.

Why

Aligns this repo with the fleet-wide convention used by user-facing CLIs (gtc, greentic-bundle, greentic-coding-agent, greentic-dwbase, greentic-i18n) and with the Rust CLI ecosystem at large (ripgrep, fd, hyperfine all ship .zip on Windows). Manual GitHub Release downloads on Windows become a one-click Explorer extraction.

Depends on

greenticai/.github#173 (merged) — Compress-Archive wrap-dir fix; required for the produced .zip layout to match binstall's bin-dir template.

Test plan

  • Next v* tag emits greentic-dev-v{version}-x86_64-pc-windows-msvc.zip and the matching aarch64 zip
  • Each zip contains a wrapping greentic-dev-v{version}-{target}/ directory holding greentic-dev.exe
  • cargo binstall greentic-dev on Windows resolves the zip and installs without falling back to source build

Aligns greentic-dev's Windows release artifacts with the fleet-wide
convention used by the user-facing CLIs (gtc, greentic-bundle,
greentic-coding-agent, greentic-dwbase, greentic-i18n).

Changes:
- Workflow caller: add windows-archive-format: zip so the tag-triggered
  release-binaries job produces .zip for x86_64- and aarch64-pc-windows-msvc.
- Cargo.toml: add [package.metadata.binstall.overrides.*-pc-windows-msvc]
  blocks so cargo binstall resolves to .zip on Windows.

Depends on greenticai/.github#173 (merged), which fixes Compress-Archive's
wrap-dir behavior so the .zip layout matches binstall's bin-dir template.
@vampik33 vampik33 merged commit 9dd4973 into main May 11, 2026
9 checks passed
@vampik33 vampik33 deleted the chore/binstall-windows-zip branch May 11, 2026 08:42
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