Skip to content

Commit

Permalink
fix error codes, latest tag for release and build process
Browse files Browse the repository at this point in the history
  • Loading branch information
sostrovskyi committed Jul 5, 2023
1 parent 5a9ee78 commit 9aaeb39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .ci/scripts/create-github-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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\"}"
2 changes: 1 addition & 1 deletion .ci/scripts/update-github-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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\"}"

0 comments on commit 9aaeb39

Please sign in to comment.