Add gitlab job for publishing draft releases (#5009)

Idea is much the same as we currently do on polkadot - When a new tag is pushed (that fits our pattern for tags, e.g. v1.2.3), find a list of labelled changes and generate a changelog based on that. Create a draft release on Github and post about it on Matrix.
This commit is contained in:
s3krit
2020-02-21 13:08:45 +01:00
committed by GitHub
parent 832b2ef642
commit 1e3e6a75f9
3 changed files with 178 additions and 1 deletions
+10 -1
View File
@@ -539,7 +539,16 @@ publish-gh-doc:
after_script:
- rm -vrf ${HOME}/.gitconfig
publish-draft-release:
stage: publish
image: parity/tools:latest
only:
- tags
- /^v[0-9]+\.[0-9]+\.[0-9]+.*$/
script:
- ./scripts/gitlab/publish_draft_release.sh
interruptible: true
allow_failure: true
.deploy-template: &deploy
stage: kubernetes