Skip to content

Commit e6fe8d6

Browse files
authored
chore: mark Rust releases as "prerelease" (openai#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.
1 parent b571249 commit e6fe8d6

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/rust-release.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,9 @@ jobs:
142142
with:
143143
tag_name: ${{ env.RELEASE_TAG }}
144144
files: dist/**
145-
# TODO(ragona): I'm going to leave these as draft for now.
146-
# It gives us 1) clarity that these are not yet a stable version, and
147-
# 2) allows a human step to review the release before publishing the draft.
148-
prerelease: false
149-
draft: true
145+
# For now, tag releases as "prerelease" because we are not claiming
146+
# the Rust CLI is stable yet.
147+
prerelease: true
150148

151149
- uses: facebook/dotslash-publish-release@v2
152150
env:

0 commit comments

Comments
 (0)