mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-14 00:31:07 +00:00
CI: fix bad URL in publish_draft_release.sh (#858)
This commit is contained in:
@@ -103,7 +103,7 @@ data=$(jq -Rs --arg version "$version" \
|
|||||||
"prerelease": false
|
"prerelease": false
|
||||||
}' < /dev/null)
|
}' < /dev/null)
|
||||||
|
|
||||||
out=$(curl -s -X POST --data "$data" -H "Authorization: token $GITHUB_RELEASE_TOKEN" "$api_base/releases")
|
out=$(curl -s -X POST --data "$data" -H "Authorization: token $GITHUB_RELEASE_TOKEN" "$api_base/paritytech/polkadot/releases")
|
||||||
|
|
||||||
html_url=$(echo "$out" | jq -r .html_url)
|
html_url=$(echo "$out" | jq -r .html_url)
|
||||||
|
|
||||||
@@ -111,6 +111,8 @@ if [ "$html_url" == "null" ]
|
|||||||
then
|
then
|
||||||
echo "[!] Something went wrong posting:"
|
echo "[!] Something went wrong posting:"
|
||||||
echo "$out"
|
echo "$out"
|
||||||
|
# If we couldn't post, don't want to announce in Matrix
|
||||||
|
exit 1
|
||||||
else
|
else
|
||||||
echo "[+] Release draft created: $html_url"
|
echo "[+] Release draft created: $html_url"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user