mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-27 21:09:57 +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:
1 parent
1f8c738000
commit
a2ff54dfa9
2 files changed
+13
-3
No files matched your search
@@ -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