diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 01137cd32..9d027a064 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,6 +40,7 @@ permissions: # If there's a prerelease-style suffix to the version, then the release(s) # will be marked as a prerelease. on: + pull_request: workflow_dispatch: inputs: tag: @@ -68,7 +69,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/astral-sh/cargo-dist/releases/download/v0.28.4-prerelease.1/cargo-dist-installer.sh | sh" + run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/cargo-dist/releases/download/v0.28.4/cargo-dist-installer.sh | sh" - name: Cache dist uses: actions/upload-artifact@6027e3dd177782cd8ab9af838c04fd81a07f1d47 with: diff --git a/Cargo.toml b/Cargo.toml index 7247cab77..08964942b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -294,7 +294,7 @@ inherits = "release" # Config for 'dist' [workspace.metadata.dist] # The preferred dist version to use in CI (Cargo.toml SemVer syntax) -cargo-dist-version = "0.28.4-prerelease.1" +cargo-dist-version = "0.28.4" # make a package being included in our releases opt-in instead of opt-out dist = false # CI backends to support @@ -330,7 +330,7 @@ auto-includes = false # 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" +pr-run-mode = "plan" # Whether CI should trigger releases with dispatches instead of tag pushes dispatch-releases = true # Which phase dist should use to create the GitHub release