From 9aaeb391a98ce2a98341532433ea099624148aa6 Mon Sep 17 00:00:00 2001 From: sostrovskyi Date: Wed, 5 Jul 2023 12:16:20 +0100 Subject: [PATCH] fix error codes, latest tag for release and build process --- .ci/scripts/create-github-release.sh | 2 +- .ci/scripts/update-github-release.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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\"}"