From 744706757fc63618b22bfc0ab00f5d37ab2543f2 Mon Sep 17 00:00:00 2001 From: fdev31 Date: Wed, 5 Jun 2024 21:10:00 +0200 Subject: [PATCH] use curl to avoid issues with http --- scripts/make_release | 27 +++++++++++++++++---------- scripts/update_get-pypr.sh | 2 +- 2 files changed, 18 insertions(+), 11 deletions(-) diff --git a/scripts/make_release b/scripts/make_release index 7ee4149b..a524e044 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 @- <