Skip to content

Commit fa8155c

Browse files
rickyesulivz
authored andcommitted
refactor($release): let [enter] pass next step (#650)
1 parent e8023bd commit fa8155c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ select VERSION in patch minor major "Specific Version"
1818
read -p "Release $VERSION - are you sure? (y/n) " -n 1 -r
1919
echo
2020

21-
if [[ $REPLY =~ ^[Yy]$ ]]; then
21+
if [[ $REPLY =~ ^[Yy]$ || -z $REPLY ]]; then
2222
# pre release task
2323
npm run lint
2424
npm run test

0 commit comments

Comments
 (0)