Return to current branch after build
This commit is contained in:
parent
e64db375d6
commit
d27f342989
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue