We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7c3c6b commit f340a29Copy full SHA for f340a29
scripts/pub.sh
@@ -81,11 +81,16 @@ resetMaster() {
81
}
82
83
npmPublish() {
84
+ git checkout $TAG_NAME || exit 1
85
+ npm run lerna publish from-git || exit 1
86
+}
87
+
88
+npmPublishAsk() {
89
while true; do
90
read -p "Last chance to bail out. Publish $RELEASE_BRANCH to npm? Y/n " yn
91
echo
92
case $yn in
- [Yy]* ) git checkout $TAG_NAME && npm run lerna publish from-git; break;;
93
+ [Yy]* ) npmPublish; break;;
94
[Nn]* ) exit;;
95
* ) echo "Please answer 'Y' or 'n'.";;
96
esac
@@ -123,6 +128,6 @@ gitTag
123
128
removeIgnoredFiles
124
129
pushToOrigin
125
130
resetMaster
126
-npmPublish
131
+npmPublishAsk
127
132
handlePR
133
goodbye
0 commit comments