From e6fe8d6fa1cf5c6d64b0f7f4cb9d4ca4f5573c41 Mon Sep 17 00:00:00 2001 From: Michael Bolin Date: Wed, 30 Apr 2025 13:25:53 -0700 Subject: [PATCH] chore: mark Rust releases as "prerelease" (#761) Apparently the URLs for draft releases cannot be downloaded using unauthenticated `curl`, which means the DotSlash file only works for users who are authenticated with `gh`. According to chat, prereleases _can_ be fetched with unauthenticated `curl`, so let's try that. --- .github/workflows/rust-release.yml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust-release.yml b/.github/workflows/rust-release.yml index 81407048..96c2f1a0 100644 --- a/.github/workflows/rust-release.yml +++ b/.github/workflows/rust-release.yml @@ -142,11 +142,9 @@ jobs: with: tag_name: ${{ env.RELEASE_TAG }} files: dist/** - # TODO(ragona): I'm going to leave these as draft for now. - # It gives us 1) clarity that these are not yet a stable version, and - # 2) allows a human step to review the release before publishing the draft. - prerelease: false - draft: true + # For now, tag releases as "prerelease" because we are not claiming + # the Rust CLI is stable yet. + prerelease: true - uses: facebook/dotslash-publish-release@v2 env: