refactor($release): let [enter] pass next step (#650)

This commit is contained in:
Ricky 泽阳
2018-07-17 23:44:06 +08:00
committed by ULIVZ
parent e8023bdc16
commit fa8155c73c
+1 -1
View File
@@ -18,7 +18,7 @@ select VERSION in patch minor major "Specific Version"
read -p "Release $VERSION - are you sure? (y/n) " -n 1 -r
echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
if [[ $REPLY =~ ^[Yy]$ || -z $REPLY ]]; then
# pre release task
npm run lint
npm run test