Release Notes
This release includes several new features and a change to the shell installers in certain environments.
Azure Artifact Signing for Windows binaries and installers
We now include support for codesigning Windows binaries and installers using Azure Artifact Signing. For more information, see the docs.
This currently only supports x86_64 Windows targets, and doesn't support aarch64 Windows targets or non-Windows targets.
β’ impl @blyedev Add Azure signing support and improve workflow for releases
Shell installers now place env helper alongside receipts for flat installs
In previous versions of dist, we would place the env helper scripts which add your program to the user's PATH alongside the binary when using a "flat" install layout. ("Flat" layouts consist of only a single directory, as opposed to the default "hierarchical" layout that places binaries in a "bin" subdirectory.) Beginning with dist 0.33.0, we instead place the env script in the app-specific config path alongside the install receipt. By default, this is ~/.config/$APP_NAME. If users had installed a previous version of your app, newer versions of the installer will migrate old env files to the new location in addition to updating the user's dotfiles.
-impl @Gankra Install env scripts in receipts dir instead of bin dir
Fixes
β’ impl @ntBre Include --repo in both gh attestation commands
Install cargo-dist 0.33.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.33.0/cargo-dist-installer.sh | sh
Install prebuilt binaries via powershell script
powershell -ExecutionPolicy Bypass -c "irm https://github.com/axodotdev/cargo-dist/releases/download/v0.33.0/cargo-dist-installer.ps1 | iex"
Install prebuilt binaries via Homebrew
brew install axodotdev/tap/cargo-dist
Install prebuilt binaries into your npm project
npm install @axodotdev/dist@0.33.0
Download cargo-dist 0.33.0
Verifying GitHub Artifact Attestations
The artifacts in this release have attestations generated with GitHub Artifact Attestations. These can be verified by using the GitHub CLI:
gh attestation verify <file-path of downloaded artifact> --repo axodotdev/cargo-dist
You can also download the attestation from GitHub and verify against that directly:
gh attestation verify <file-path of downloaded artifact> --bundle <file-path of downloaded attestation>