mirror of
https://github.com/mimblewimble/grin.git
synced 2025-01-20 19:11:08 +03:00
Minor release script fix
This commit is contained in:
parent
760dbf3481
commit
607813a8aa
1 changed files with 1 additions and 1 deletions
|
@ -62,7 +62,7 @@ jq -n \
|
|||
prerelease: false
|
||||
}' > CHANGELOG.md
|
||||
|
||||
release_id="$(curl -0 -XGET -H "Authorization: token $token" https://api.github.com/repos/garyyu/grin/releases/tags/$tagname 2>/dev/null | grep id | head -n 1 | sed 's/ *"id": *\(.*\),/\1/')"
|
||||
release_id="$(curl -0 -XGET -H "Authorization: token $token" https://api.github.com/repos/$repo_slug/releases/tags/$tagname 2>/dev/null | grep id | head -n 1 | sed 's/ *"id": *\(.*\),/\1/')"
|
||||
echo "Updating release $version for repo: $repo_slug, branch: $branch. release id: $release_id"
|
||||
curl -H "Authorization: token $token" --request PATCH --data @CHANGELOG.md "https://api.github.com/repos/$repo_slug/releases/$release_id"
|
||||
echo "auto changelog uploaded.\n"
|
||||
|
|
Loading…
Reference in a new issue