Skip to content

Commit 23032ce

Browse files
committed
activate the push and publishes for final testing
1 parent f340a29 commit 23032ce

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

scripts/pub.sh

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,8 @@ cleanWorkspace() {
3535
checkoutMaster() {
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
4340
bumpVersion() {
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

120117
checkDir
121118
cleanWorkspace
122-
#checkoutMaster
119+
checkoutMaster
123120
bumpVersion
124121
createBranch
125122
npmInstall

0 commit comments

Comments
 (0)