2017-12-04 01:57:24 +00:00
|
|
|
before_script:
|
2018-04-17 04:08:10 +00:00
|
|
|
- export VERSION=1.1.2
|
2017-12-04 01:57:24 +00:00
|
|
|
- chmod +x packaging/build-package.sh packaging/package-upload.sh
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
- package
|
|
|
|
|
|
|
|
build:
|
2017-12-04 01:59:03 +00:00
|
|
|
stage: build
|
|
|
|
only:
|
|
|
|
- master
|
2017-12-04 01:57:24 +00:00
|
|
|
image: node:latest
|
|
|
|
script:
|
|
|
|
- npm install
|
|
|
|
- npm run build
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- dist
|
|
|
|
|
|
|
|
package:
|
|
|
|
stage: package
|
|
|
|
only:
|
|
|
|
- master
|
|
|
|
image: tystuyfzand/fpm
|
|
|
|
script:
|
|
|
|
- packaging/build-package.sh
|
|
|
|
- packaging/package-upload.sh
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2018-04-04 03:39:55 +00:00
|
|
|
- out
|