diff --git a/scripts/build-dist.sh b/scripts/build-dist.sh index 3b63811f06..de7c277a06 100755 --- a/scripts/build-dist.sh +++ b/scripts/build-dist.sh @@ -15,8 +15,8 @@ case "$(uname -s)" in ;; esac -version=`node -p -e "require('./package.json').version"` -node_version=`node -p -e "process.versions.node.split('.')[0]"` +version=`node -p "require('./package.json').version"` +node_version=`node -p "process.versions.node.split('.')[0]"` rm -rf artifacts dist mkdir artifacts @@ -47,7 +47,7 @@ cp node_modules/v8-compile-cache/v8-compile-cache.js dist/lib/v8-compile-cache.j # Verify that it works as expected [[ "$version" == "$(./dist/bin/yarn --version)" ]] || exit 1; -./scripts/update-dist-manifest.js $(node -p -e "require('fs').realpathSync('dist/package.json')") tar +./scripts/update-dist-manifest.js $(node -p "require('fs').realpathSync('dist/package.json')") tar case "$(tar --version)" in *GNU*) diff --git a/scripts/release-branch.sh b/scripts/release-branch.sh index 4462aeebf3..8c0f2d2163 100755 --- a/scripts/release-branch.sh +++ b/scripts/release-branch.sh @@ -3,13 +3,13 @@ set -ex yarn version --new-version minor -VERSION=$(node -p -e "require('./package.json').version") +VERSION=$(node -p "require('./package.json').version") BRANCH=$(echo "$VERSION" | (IFS="."; read a b c && echo $a.$b-stable)) echo "$BRANCH" git checkout -b "$BRANCH" git push origin "$BRANCH" --follow-tags git checkout master yarn version --new-version preminor --no-git-tag-version -NEW_VERSION=$(node -p -e "require('./package.json').version") +NEW_VERSION=$(node -p "require('./package.json').version") git commit -a -m "$NEW_VERSION" git push origin master