NurseBot/buildtools/update.sh

11 lines
132 B
Bash
Raw Permalink Normal View History

2018-07-13 13:53:05 +00:00
#!/bin/bash
git checkout production
2018-07-13 15:54:40 +00:00
if test ! $? = 0; then
exit 1
fi
2018-07-13 13:53:05 +00:00
git pull origin production
2018-07-13 15:54:40 +00:00
if test ! $? = 0; then
exit 2
fi