Commit 3538efe 1 parent b974610 commit 3538efe Copy full SHA for 3538efe
File tree 1 file changed +8
-1
lines changed
1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -265,12 +265,16 @@ jobs:
265
265
- name : Setup | Checksums
266
266
run : for file in starship-*/starship-*; do openssl dgst -sha256 -r "$file" | awk '{print $1}' > "${file}.sha256"; done
267
267
268
+ - name : Setup | Publish Release
269
+ run : gh release edit ${{ needs.release_please.outputs.tag_name }} --draft=false --repo=starship/starship
270
+ env :
271
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
272
+
268
273
- name : Build | Add Artifacts to Release
269
274
uses : softprops/action-gh-release@v1
270
275
with :
271
276
files : starship-*/starship-*
272
277
tag_name : ${{ needs.release_please.outputs.tag_name }}
273
- draft : false
274
278
275
279
# Publish starship to Crates.io
276
280
cargo_publish :
@@ -303,7 +307,10 @@ jobs:
303
307
formula-name : starship
304
308
tag-name : ${{ needs.release_please.outputs.tag_name }}
305
309
env :
310
+ # Used for creating the formula update PR
306
311
COMMITTER_TOKEN : ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
312
+ # Used for verifying the SHA256 sum of the draft release
313
+ GITHUB_TOKEN : ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
307
314
308
315
winget_update :
309
316
name : Update Winget Manifest
You can’t perform that action at this time.
0 commit comments