From a7b3fb671386ba6497b063a550c83596a8396ac7 Mon Sep 17 00:00:00 2001 From: shimataro Date: Sun, 26 Jan 2020 00:15:27 +0900 Subject: [PATCH] Feature/scripts (#95) * * install all dependencies on creating release branch * * remove "&&" --- scripts/create-release-branch.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/scripts/create-release-branch.sh b/scripts/create-release-branch.sh index a736165..b1cffcf 100755 --- a/scripts/create-release-branch.sh +++ b/scripts/create-release-branch.sh @@ -119,12 +119,13 @@ function update_package_version() { } function update_dependencies_version() { + npm ci npm run check-updates -- -u } function regenerate_package_lock() { - rm -rf package-lock.json node_modules && - npm install + rm -rf package-lock.json node_modules + npm install } function build_package() { @@ -135,9 +136,9 @@ function build_package() { function commit_changes() { local VERSION=$1 - npm ci --only=production && - git add CHANGELOG.md package.json package-lock.json node_modules lib && - git commit -m "version ${VERSION}" + npm ci --only=production + git add CHANGELOG.md package.json package-lock.json node_modules lib + git commit -m "version ${VERSION}" } function finish() {