From ada2845d2f128a5b266a24ef7ddd78354a4f7efd Mon Sep 17 00:00:00 2001 From: shimataro Date: Sun, 26 Jan 2020 00:12:50 +0900 Subject: [PATCH] * remove "&&" --- scripts/create-release-branch.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/create-release-branch.sh b/scripts/create-release-branch.sh index 9af16ba..b1cffcf 100755 --- a/scripts/create-release-branch.sh +++ b/scripts/create-release-branch.sh @@ -124,8 +124,8 @@ function update_dependencies_version() { } 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() { @@ -136,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() {