checkout tag only
This commit is contained in:
parent
a975c80404
commit
c73b4392b0
|
@ -19,7 +19,7 @@ elif [ "$1" = "-b" ]
|
||||||
then
|
then
|
||||||
export REPO_BRANCH="$2"
|
export REPO_BRANCH="$2"
|
||||||
else
|
else
|
||||||
export REPO_BRANCH="tags/$1"
|
export REPO_BRANCH="$1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# minifies the JavaScript files
|
# minifies the JavaScript files
|
||||||
|
@ -51,17 +51,15 @@ function minifyCSS {
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "Getting files..."
|
echo "Getting files..."
|
||||||
git clone git@github.com:LDAPAccountManager/lam.git github
|
git clone -b $REPO_BRANCH --single-branch git@github.com:LDAPAccountManager/lam.git github
|
||||||
cd github
|
cd github
|
||||||
git checkout $REPO_BRANCH
|
|
||||||
mv lam ../
|
mv lam ../
|
||||||
mv lam-packaging ../
|
mv lam-packaging ../
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf github
|
rm -rf github
|
||||||
|
|
||||||
git clone git@gitlab.com:LDAPAccountManager/lamPro.git lamPro
|
git clone -b $REPO_BRANCH --single-branch git@gitlab.com:LDAPAccountManager/lamPro.git lamPro
|
||||||
cd lamPro
|
cd lamPro
|
||||||
git checkout $REPO_BRANCH
|
|
||||||
rm -rf .git
|
rm -rf .git
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue