Skip to content

Commit 0564256

Browse files
Automate build_release_linux.sh more
1 parent 73fc79f commit 0564256

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

build_release_linux.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ if [ $diff -gt 0 ]; then
88
fi
99

1010
echo "1) make sure devtools are set to false in src/main.js"
11-
read yes
11+
if grep "devTools: true" src/main.js; then
12+
echo "devTools: true found in src/main.js"
13+
exit 2
14+
fi
1215

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

0 commit comments

Comments
 (0)