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
|
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
|
||||||
|
|
Loading…
Reference in New Issue