aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: e2960aaf05ccdd07ea9741c718e65521297c29f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
stages:
    - build
    - release

on-schedule:
    stage: build
    image: python:3
    only:
        - schedules
    script:
        - pip3 install requests beautifulsoup4
        - sh tools/do_release.sh

release:
    stage: release
    image: python:3
    script:
        - pip3 install gitlab-release
        - gitlab-release --zip "release-${CI_COMMIT_TAG}.zip" *
    only:
        - tags