From 1cf09ac1bae8ec7d38bec9206efe6d16ba2cd727 Mon Sep 17 00:00:00 2001 From: johnniang Date: Tue, 21 May 2019 12:10:10 +0800 Subject: [PATCH] Fix colon error in .traivs.yml --- .travis.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index d610dfb5..d7f966a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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