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 9863327 commit 7fbca17Copy full SHA for 7fbca17
scripts/release.sh
@@ -83,18 +83,6 @@ npmPublish() {
83
git checkout .
84
}
85
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
-
98
handlePR() {
99
if command -v hub > /dev/null; then
100
echo "Hub installation found, creating a PR."
@@ -126,6 +114,6 @@ gitTag
126
114
removeIgnoredFiles
127
115
pushToOrigin
128
116
resetMaster
129
-npmPublishAsk
117
+npmPublish
130
118
handlePR
131
119
goodbye
0 commit comments