Add gitlab release code to CI/CD
This commit is contained in:
parent
c087f9a442
commit
e3cec728f9
|
@ -2,6 +2,7 @@ image: ubuntu:18.04
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- Build
|
- Build
|
||||||
|
- Release
|
||||||
|
|
||||||
Build LibreWolf:
|
Build LibreWolf:
|
||||||
stage: Build
|
stage: Build
|
||||||
|
@ -11,3 +12,12 @@ Build LibreWolf:
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- "browser/build_output"
|
- "browser/build_output"
|
||||||
|
|
||||||
|
Release to Gitlab:
|
||||||
|
stage: Release
|
||||||
|
image: python3
|
||||||
|
script:
|
||||||
|
- pip3 install gitlab-release
|
||||||
|
- gitlab-release browser/build_output/*
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
|
Loading…
Reference in a new issue