Add set -e to update-docs.sh

This should prevent accidentally comitting docs in master
This commit is contained in:
Lonami Exo 2020-10-01 12:19:20 +02:00
parent 668dcd52ca
commit 4683e83287

View File

@ -1,5 +1,6 @@
#!/bin/bash #!/bin/bash
set -e
python setup.py gen docs python setup.py gen docs
rm -rf /tmp/docs rm -rf /tmp/docs
mv docs/ /tmp/docs mv docs/ /tmp/docs