Skip to content

Commit 7fbca17

Browse files
committed
don't ask about publishing, lerna already does
1 parent 9863327 commit 7fbca17

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

scripts/release.sh

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -83,18 +83,6 @@ npmPublish() {
8383
git checkout .
8484
}
8585

86-
npmPublishAsk() {
87-
while true; do
88-
read -p "Last chance to bail out. Publish $RELEASE_BRANCH to npm? Y/n " yn
89-
echo
90-
case $yn in
91-
[Yy]* ) npmPublish; break;;
92-
[Nn]* ) echo "Skipped publishing to NPM.";;
93-
* ) echo "Please answer 'Y' or 'n'.";;
94-
esac
95-
done
96-
}
97-
9886
handlePR() {
9987
if command -v hub > /dev/null; then
10088
echo "Hub installation found, creating a PR."
@@ -126,6 +114,6 @@ gitTag
126114
removeIgnoredFiles
127115
pushToOrigin
128116
resetMaster
129-
npmPublishAsk
117+
npmPublish
130118
handlePR
131119
goodbye

0 commit comments

Comments
 (0)