File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -35,11 +35,8 @@ cleanWorkspace() {
3535checkoutMaster () {
3636 git checkout master || exit 1
3737 git pull origin master || exit 1
38-
3938}
4039
41- # - Choose the appropriate version bump type for the release you’re publishing.
42- # - if bumping a prerelease version (example: from 1.0.0-prerelease.2 to 1.0.0-prerelease.3), choose Custom Prerelease
4340bumpVersion () {
4441 OLD_VERSION=$( node -e " console.log(require('./lerna.json').version)" )
4542 ./node_modules/.bin/lerna version --no-git-tag-version --no-push --preid=" $PRERELEASE_PREFIX " || exit 1
@@ -91,7 +88,7 @@ npmPublishAsk() {
9188 echo
9289 case $yn in
9390 [Yy]* ) npmPublish; break ;;
94- [Nn]* ) exit ;;
91+ [Nn]* ) echo " Skipped publishing to NPM. " ;;
9592 * ) echo " Please answer 'Y' or 'n'." ;;
9693 esac
9794 done
@@ -119,7 +116,7 @@ goodbye() {
119116
120117checkDir
121118cleanWorkspace
122- # checkoutMaster
119+ checkoutMaster
123120bumpVersion
124121createBranch
125122npmInstall
You can’t perform that action at this time.
0 commit comments