Fix colon error in .traivs.yml

pull/9/head
johnniang 2019-05-21 12:10:10 +08:00
parent 509424d4bb
commit 1cf09ac1ba
1 changed files with 2 additions and 3 deletions

View File

@ -1,6 +1,5 @@
language: node_js language: node_js
node_js: node_js: stable
- 'stable'
cache: npm cache: npm
jobs: jobs:
@ -8,7 +7,7 @@ jobs:
- stage: build - stage: build
script: script:
- npm run build - npm run build
- PACKAGE_VERSION=$(sed -nE 's/^\s*"version": "(.*?)",$/\1/p' package.json) - "PACKAGE_VERSION=$(sed -nE 's/^\s*\"version\": \"(.*?)",$/\1/p' package.json)""
- echo "Halo admin version $PACKAGE_VERSION" - echo "Halo admin version $PACKAGE_VERSION"
- zip -r dist/halo-admin-$PACKAGE_VERSION.zip dist - zip -r dist/halo-admin-$PACKAGE_VERSION.zip dist
- stage: release - stage: release