aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
blob: 6fee2cb8067d57cda23c7394c88fbc6ffc07be67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
        - /^v-nightly-.*$/
    except:
        - schedules