mirror of https://github.com/halo-dev/halo-admin
Fix colon error in .traivs.yml
parent
509424d4bb
commit
1cf09ac1ba
|
@ -1,6 +1,5 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- 'stable'
|
||||
node_js: stable
|
||||
cache: npm
|
||||
|
||||
jobs:
|
||||
|
@ -8,7 +7,7 @@ jobs:
|
|||
- stage: build
|
||||
script:
|
||||
- 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"
|
||||
- zip -r dist/halo-admin-$PACKAGE_VERSION.zip dist
|
||||
- stage: release
|
||||
|
|
Loading…
Reference in New Issue