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.
This commit is contained in:
8
.github/workflows/rust-release.yml
vendored
8
.github/workflows/rust-release.yml
vendored
@@ -142,11 +142,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
tag_name: ${{ env.RELEASE_TAG }}
|
tag_name: ${{ env.RELEASE_TAG }}
|
||||||
files: dist/**
|
files: dist/**
|
||||||
# TODO(ragona): I'm going to leave these as draft for now.
|
# For now, tag releases as "prerelease" because we are not claiming
|
||||||
# It gives us 1) clarity that these are not yet a stable version, and
|
# the Rust CLI is stable yet.
|
||||||
# 2) allows a human step to review the release before publishing the draft.
|
prerelease: true
|
||||||
prerelease: false
|
|
||||||
draft: true
|
|
||||||
|
|
||||||
- uses: facebook/dotslash-publish-release@v2
|
- uses: facebook/dotslash-publish-release@v2
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user