NurseBot/buildtools/update.sh
2018-07-13 17:54:40 +02:00

10 lines
132 B
Bash
Executable file

#!/bin/bash
git checkout production
if test ! $? = 0; then
exit 1
fi
git pull origin production
if test ! $? = 0; then
exit 2
fi