123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- all: run
- ci: pull run
- pull:
- docker pull 10.4.16.33/scytl/nodejs
- run:
- docker run -e GIT_COMMIT=$(GIT_COMMIT) -e BUILD_NUMBER=$(BUILD_NUMBER) -e BUILD_ID=$(BUILD_ID) -e http_proxy=http://hproxy.scytl.net:8080 -e https_proxy=http://hproxy.scytl.net:8080 -P -rm -a=stdout -v "`pwd`:/app/" -p 5999 -w /app -i -t 10.4.16.33/scytl/nodejs make -B compile
- compile:
- npm install --unsafe-perm
- npm run build
- publish_dev:
- npm install --unsafe-perm
- npm run gulp bump:dev
- npm run build
- npm publish
- publish_rc:
- npm install --unsafe-perm
- npm run gulp bump:rc
- npm run build
- npm publish
- git add makefile package.json
- git commit -m "new release candidate version"
- node -p "package = require('./package.json'); package.name+'-'+package.version" | xargs git tag
- node -p "package = require('./package.json'); package.name+'-'+package.version" | xargs git push origin
- git push origin HEAD
- release:
- npm install --unsafe-perm
- npm run gulp bump:release
- npm run build
- npm publish
- git add makefile package.json
- git commit -m "new release version"
- node -p "package = require('./package.json'); package.name+'-'+package.version" | xargs git tag
- node -p "package = require('./package.json'); package.name+'-'+package.version" | xargs git push origin
- git push origin HEAD
|