mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-12 15:51:12 +00:00
Add publish_draft_release.sh (#752)
* Add publish_draft_release.sh This new CI script will generate a list of differences between this tagged version and the previous tagged version (including substrate changes), and create a draft release on Github. Once this is done, the draft release will be posted in Matrix (the channel is determined by a Gitlab CI environment variable). * Add highlighting gav for draft release
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
# structure_message $content $formatted_content (optional)
|
||||
structure_message() {
|
||||
@@ -44,7 +44,7 @@ EOF
|
||||
formatted_msg_body=$(cat <<EOF
|
||||
<strong>New version of polkadot tagged:</strong> $CI_COMMIT_TAG.<br />
|
||||
Build pipeline: $CI_PIPELINE_URL<br />
|
||||
A release will be pending upon completion of this pipeline.
|
||||
A release will be drafted upon completion of this pipeline.
|
||||
EOF
|
||||
)
|
||||
|
||||
@@ -55,7 +55,7 @@ send_message "$(structure_message "$msg_body" "$formatted_msg_body")" $MATRIX_RO
|
||||
msg_body=$(cat <<EOF
|
||||
**New version of polkadot tagged:** $CI_COMMIT_TAG.
|
||||
Build pipeline: $CI_PIPELINE_URL
|
||||
When the build finishes, it is safe to perform a release.
|
||||
When the build finishes, it is safe to build cleanroom binaries.
|
||||
EOF
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user