diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 52f908f44..57fdd91f7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -66,7 +66,7 @@ jobs: # we specify bash to get pipefail; it guards against the `curl` command # failing. otherwise `sh` won't catch that `curl` returned non-0 shell: bash - run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.25.1/cargo-dist-installer.sh | sh" + run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/axodotdev/cargo-dist/releases/download/v0.25.2-prerelease.3/cargo-dist-installer.sh | sh" - name: Cache dist uses: actions/upload-artifact@v4 with: diff --git a/Cargo.toml b/Cargo.toml index de26817fe..3075f6793 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -282,10 +282,10 @@ strip = "debuginfo" [profile.dist] inherits = "release" -# Config for 'cargo dist' +# Config for 'dist' [workspace.metadata.dist] -# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax) -cargo-dist-version = "0.25.1" +# The preferred dist version to use in CI (Cargo.toml SemVer syntax) +cargo-dist-version = "0.25.2-prerelease.3" # CI backends to support ci = "github" # The installers to generate for each app @@ -315,13 +315,13 @@ targets = [ ] # Whether to auto-include files like READMEs, LICENSEs, and CHANGELOGs (default true) auto-includes = false -# Whether cargo-dist should create a Github Release or use an existing draft +# Whether dist should create a Github Release or use an existing draft create-release = true # Which actions to run on pull requests pr-run-mode = "skip" # Whether CI should trigger releases with dispatches instead of tag pushes dispatch-releases = true -# Which phase cargo-dist should use to create the GitHub release +# Which phase dist should use to create the GitHub release github-release = "announce" # Whether CI should include auto-generated code to build local artifacts build-local-artifacts = false