Skip to content

Commit

Permalink
refactor($release): let [enter] pass next step (vuejs#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
rickyes authored and ulivz committed Jul 17, 2018
1 parent e8023bd commit fa8155c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fa8155c

Please sign in to comment.