AimerNeige revised this gist . Go to revision
1 file changed, 4 insertions
pullcheck.sh(file created)
@@ -0,0 +1,4 @@ | |||
1 | + | if [[ $(git fetch origin 2>&1) ]]; then | |
2 | + | echo "WARNING! pull the newest code before build" | |
3 | + | exit 1 | |
4 | + | fi |
Newer
Older