diff --git a/.ci/scripts/create-github-release.sh b/.ci/scripts/create-github-release.sh index b98fea5de..713366fab 100755 --- a/.ci/scripts/create-github-release.sh +++ b/.ci/scripts/create-github-release.sh @@ -11,4 +11,4 @@ curl -sX POST -H "Accept: application/vnd.github+json" -H "Authorization: token https://api.github.com/repos/gosh-sh/gosh/releases \ -d "{\"tag_name\":\"${VERSION}\", \"target_commitish\":\"${BRANCH}\", \ \"name\":\"Version: rc-${VERSION}\", \"body\":\"GOSH release\", \"draft\":false, \ - \"prerelease\":true, \"generate_release_notes\":false, \"make_latest\":true}" + \"prerelease\":true, \"generate_release_notes\":false, \"make_latest\":\"true\"}" diff --git a/.ci/scripts/update-github-release.sh b/.ci/scripts/update-github-release.sh index 0f84c880a..b04ec7618 100755 --- a/.ci/scripts/update-github-release.sh +++ b/.ci/scripts/update-github-release.sh @@ -13,4 +13,4 @@ RELEASE_ID=$(curl -sH "Authorization: token ${TOKEN}" \ curl -X PATCH -H "Accept: application/vnd.github+json" -H "Authorization: token ${TOKEN}" \ https://api.github.com/repos/gosh-sh/gosh/releases/"$RELEASE_ID" \ - -d "{\"name\":\"Version: ${VERSION}\", \"prerelease\":false, \"make_latest\":true}" + -d "{\"name\":\"Version: ${VERSION}\", \"prerelease\":false, \"make_latest\":\"true\"}"