Skip to content

Commit 3c50803

Browse files
Automate build_release_windows.sh more
1 parent 0564256 commit 3c50803

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build_release_windows.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ if [ $diff -gt 0 ]; then
1111
fi
1212

1313
echo "1) make sure devtools are set to false in src/main.js"
14-
read yes
14+
if grep "devTools: true" src/main.js; then
15+
echo "devTools: true found in src/main.js"
16+
exit 2
17+
fi
1518

1619
echo "2) make sure you've incremented the version number in package.json AND package-lock.json"
1720
read yes

0 commit comments

Comments
 (0)