mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 13:31:10 +00:00
Activate publishing of draft releases... (#5062)
* Activate publishing of draft releases... ... And fix the message sending (missing parameter). * publish_draft_release.sh now checks latest... ... release on github rather than just a tag
This commit is contained in:
@@ -14,6 +14,14 @@ sanitised_git_logs(){
|
||||
sed 's/^/* /g'
|
||||
}
|
||||
|
||||
# Returns the last published release on github
|
||||
# repo: 'organization/repo'
|
||||
# Usage: last_github_release "$repo"
|
||||
last_github_release(){
|
||||
curl -H "Authorization: token $GITHUB_RELEASE_TOKEN" \
|
||||
-s "$api_base/$1/releases/latest" | jq '.tag_name'
|
||||
}
|
||||
|
||||
# Checks whether a tag on github has been verified
|
||||
# repo: 'organization/repo'
|
||||
# tagver: 'v1.2.3'
|
||||
|
||||
Reference in New Issue
Block a user