Set Github release to draft while uploading binaries

This commit is contained in:
Nick Craig-Wood 2023-03-15 10:50:28 +00:00
parent 13be03cb86
commit f578896745

View File

@ -26,7 +26,8 @@ echo "Making release ${VERSION} anchor ${ANCHOR} to repo ${REPO}"
gh release create "${VERSION}" \ gh release create "${VERSION}" \
--repo ${REPO} \ --repo ${REPO} \
--title "rclone ${VERSION}" \ --title "rclone ${VERSION}" \
--notes-file "/tmp/${VERSION}-release-notes" --notes-file "/tmp/${VERSION}-release-notes" \
--draft=true
for build in build/*; do for build in build/*; do
case $build in case $build in
@ -40,6 +41,10 @@ for build in build/*; do
"${build}" "${build}"
done done
gh release edit "${VERSION}" \
--repo ${REPO} \
--draft=false
gh release view "${VERSION}" \ gh release view "${VERSION}" \
--repo ${REPO} --repo ${REPO}