Add auto-release infrastructure

This commit is contained in:
jaseg 2020-11-18 13:21:38 +01:00
parent 43d49d978e
commit 0a678f936b
4 changed files with 153 additions and 20 deletions

20
.gitlab-ci.yml Normal file
View file

@ -0,0 +1,20 @@
stages:
- build
- release
on-schedule:
stage: build
image: python3
only:
- schedules
script:
- sh tools/do_release.sh
release:
stage: release
image: python3
script:
- pip3 install gitlab-release
- gitlab-release --zip "release-${CI_COMMIT_TAG}.zip" *
only:
- tags