Add auto-release infrastructure
This commit is contained in:
parent
43d49d978e
commit
0a678f936b
4 changed files with 153 additions and 20 deletions
20
.gitlab-ci.yml
Normal file
20
.gitlab-ci.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue