Fix draft-releaase-notes (#20885)
Turns out this was broken because (a) we didn't have tags fetched, and (b) because the gh-release action we use is buggy. Release Notes: - N/A
This commit is contained in:
parent
705a06c3dd
commit
c2668bc953
2 changed files with 12 additions and 17 deletions
8
script/create-draft-release
Executable file
8
script/create-draft-release
Executable file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
preview=""
|
||||
if [[ "$GITHUB_REF_NAME" == *"-pre" ]]; then
|
||||
preview="-p"
|
||||
fi
|
||||
|
||||
gh release create -d "$GITHUB_REF_NAME" -F "$1" $preview
|
Loading…
Add table
Add a link
Reference in a new issue