From f578896745875f6c14447104a2e84d7efcd3de36 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Wed, 15 Mar 2023 10:50:28 +0000 Subject: [PATCH] Set Github release to draft while uploading binaries --- bin/upload-github | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bin/upload-github b/bin/upload-github index f4fa1cdc7..ba4079323 100755 --- a/bin/upload-github +++ b/bin/upload-github @@ -26,7 +26,8 @@ echo "Making release ${VERSION} anchor ${ANCHOR} to repo ${REPO}" gh release create "${VERSION}" \ --repo ${REPO} \ --title "rclone ${VERSION}" \ - --notes-file "/tmp/${VERSION}-release-notes" + --notes-file "/tmp/${VERSION}-release-notes" \ + --draft=true for build in build/*; do case $build in @@ -40,6 +41,10 @@ for build in build/*; do "${build}" done +gh release edit "${VERSION}" \ + --repo ${REPO} \ + --draft=false + gh release view "${VERSION}" \ --repo ${REPO}