test
This commit is contained in:
parent
0f987bc481
commit
fa34bf989f
2 changed files with 16 additions and 1 deletions
15
.gitlab.ci.yml
Normal file
15
.gitlab.ci.yml
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
variables:
|
||||||
|
VERSION_ID: '1.0:$CI_PIPELINE_ID'
|
||||||
|
|
||||||
|
stages:
|
||||||
|
- build
|
||||||
|
|
||||||
|
build:
|
||||||
|
image: crimata/electron-builder-mac
|
||||||
|
stage: build
|
||||||
|
artifacts:
|
||||||
|
paths:
|
||||||
|
- $CI_PROJECT_DIR/dist/*.*
|
||||||
|
script:
|
||||||
|
- sed "s/0.0.0/${VERSION_ID}/g" package.json > _package.json && mv _package.json package.json
|
||||||
|
- yarn && yarn electron:build
|
||||||
Loading…
Reference in a new issue