Skip to content

Version 0.0.2 (2023-01-31)

Compare
Choose a tag to compare
@github-actions github-actions released this 31 Jan 18:34
· 2674 commits to main since this release

Install

Install prebuilt binaries via shell script

# WARNING: this installer is experimental
curl --proto '=https' --tlsv1.2 -L -sSf https://github.com/axodotdev/cargo-dist/releases/download/v0.0.2/installer.sh | sh

Install prebuilt binaries via powershell script

# WARNING: this installer is experimental
irm 'https://github.com/axodotdev/cargo-dist/releases/download/v0.0.2/installer.ps1' | iex

Download

target kind download
x86_64-unknown-linux-gnu tarball cargo-dist-v0.0.2-x86_64-unknown-linux-gnu.tar.xz
x86_64-apple-darwin tarball cargo-dist-v0.0.2-x86_64-apple-darwin.tar.xz
x86_64-pc-windows-msvc tarball cargo-dist-v0.0.2-x86_64-pc-windows-msvc.zip
x86_64-pc-windows-msvc symbols cargo-dist-v0.0.2-x86_64-pc-windows-msvc.pdb

Release Notes

cargo-dist:

  • Added proper detection of README/LICENSE/RELEASES/CHANGELOG files, which are now copied to the root of executable-zips.
    • We will defer to Cargo fields like "readme" and "license-file" if present
    • Otherwise we will search the root directory of the package and the root directory of the workspace (preferring results from the former)
  • Release note handling:
    • --ci=github will manually set the title and body of the Github Release
    • The body is a generated listing of installers/downloads
    • If your RELEASES/CHANGELOG parses with parse_changelog library we'll append the current release's notes to the body, and use the heading for the title
    • If we don't parse your RELEASES/CHANGELOG we will default to a title of "v{VERSION}"

cargo-dist-schema:

  • Changed PathBufs to Strings since the paths may be from a different OS and Rust Paths are generally platform-specific. Seemed like a ticking timebomb for some weird corner case.
  • Added "changelog" as a valid AssetKind
  • Added "changelog_title" and "changelog_body" to Release
    • These are used to populate a Github Release
  • Added "description" to Artifact
    • Currently just used to describe some installers
  • Made Artifact::name Optional to futureproof
    • If None this indicates the artifact is purely informative and no file exists (i.e. "you can install with cargo-binstall")