1
0
Fork 0

allow to build branches

Esse commit está contido em:
Roland Gruber 2017-10-15 10:53:07 +02:00
commit 696ec86674
1 arquivos alterados com 4 adições e 1 exclusões

Ver arquivo

@ -4,7 +4,7 @@
if [ $# -lt 1 ] if [ $# -lt 1 ]
then then
echo -e "Usage: buildPackage <tag>" echo -e "Usage: buildPackage <tag>, buildPackage develop, buildPackage -b branch"
exit exit
fi fi
@ -15,6 +15,9 @@ cd /daten/projekte/lam/pakete
if [ "$1" = "develop" ] if [ "$1" = "develop" ]
then then
export REPO_BRANCH="develop" export REPO_BRANCH="develop"
elif [ "$1" = "-b" ]
then
export REPO_BRANCH="$2"
else else
export REPO_BRANCH="tags/$1" export REPO_BRANCH="tags/$1"
fi fi