diff --git a/scripts/make_release b/scripts/make_release index 7ee4149..a524e04 100755 --- a/scripts/make_release +++ b/scripts/make_release @@ -35,16 +35,23 @@ poetry publish --build -u $PYPI_USERNAME -p $PYPI_PASSWORD # }}} # Make the release - -rel_id=$(http -b -j POST $URL/releases \ - "Accept: application/vnd.github+json" \ - "Authorization: Bearer ${TOKEN}" \ - "X-GitHub-Api-Version: 2022-11-28" \ - tag_name=${version} \ - target_commitish=main \ - "name=${title}" \ - body=@RELEASE_NOTES.md \ - draft:=false prerelease:=false generate_release_notes:=false | jq .id) +# +rel_id=$(curl -s -X POST $URL/releases \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${TOKEN}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + -d @- <