Return to current branch after build

This commit is contained in:
MatMoul 2015-08-22 00:47:01 +02:00
parent e64db375d6
commit d27f342989

View file

@ -104,3 +104,7 @@ echo "?>" >> $pubfile
scp $pubfile matmoul@web.sourceforge.net:/home/project-web/$prjname/htdocs/$prjname/index.php
rm -R .build
if [ ! "$branch" = "master" ]; then
git checkout $branch
fi