allow to build branches
This commit is contained in:
parent
ddf2e22e91
commit
696ec86674
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue