get latest tag differently
Signed-off-by: Gwenhael Le Moine <gwenhael.le.moine@gmail.com>
This commit is contained in:
parent
4b9f63baa7
commit
8121fb85a3
128 changed files with 171 additions and 170 deletions
|
@ -25,7 +25,7 @@ rm -fr $PKG
|
||||||
# mise en place
|
# mise en place
|
||||||
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
||||||
( cd $REPOSITORY; git pull )
|
( cd $REPOSITORY; git pull )
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -39,7 +39,7 @@ case $VERSION in
|
||||||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
;;
|
;;
|
||||||
latest)
|
latest)
|
||||||
VERSION=$(git describe --tags --abbrev=0)
|
VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
git checkout $VERSION
|
git checkout $VERSION
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -26,7 +26,7 @@ rm -fr $PKG
|
||||||
# mise en place
|
# mise en place
|
||||||
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
||||||
( cd $REPOSITORY; git pull )
|
( cd $REPOSITORY; git pull )
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ rm -fr $PKG
|
||||||
# mise en place
|
# mise en place
|
||||||
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
||||||
( cd $REPOSITORY; git pull )
|
( cd $REPOSITORY; git pull )
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout -f $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout -f $VERSION
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ mkdir -p $PKG
|
||||||
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
||||||
cd $REPOSITORY
|
cd $REPOSITORY
|
||||||
git pull --all
|
git pull --all
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -35,7 +35,7 @@ case $VERSION in
|
||||||
VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
;;
|
;;
|
||||||
latest)
|
latest)
|
||||||
VERSION=$(git describe --tags --abbrev=0)
|
VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
git checkout "$VERSION"
|
git checkout "$VERSION"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ cd $TMP
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -27,7 +27,7 @@ mkdir -p $PKG
|
||||||
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
[ ! -e $REPOSITORY ] && git clone https://github.com/${GITHUB_REPO}.git $REPOSITORY
|
||||||
cd $REPOSITORY
|
cd $REPOSITORY
|
||||||
git pull --all
|
git pull --all
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
cp -R "$REPOSITORY" $TMP/
|
cp -R "$REPOSITORY" $TMP/
|
||||||
cd "$TMP/$PRGNAM/" || exit
|
cd "$TMP/$PRGNAM/" || exit
|
||||||
|
|
||||||
[ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "$VERSION" == "" ] && VERSION=trunk
|
[ "$VERSION" == "" ] && VERSION=trunk
|
||||||
if [ "$VERSION" == "trunk" ]; then
|
if [ "$VERSION" == "trunk" ]; then
|
||||||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ git pull --all
|
||||||
rm -r $tmp/$PRGNAM
|
rm -r $tmp/$PRGNAM
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -49,7 +49,7 @@ find . \
|
||||||
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
|
||||||
-exec chmod 644 {} \;
|
-exec chmod 644 {} \;
|
||||||
|
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ cd $TMP
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $PRGNAM
|
cp -R $REPOSITORY $PRGNAM
|
||||||
cd $PRGNAM
|
cd $PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ git submodule update
|
||||||
cp -R "$REPOSITORY" $TMP/
|
cp -R "$REPOSITORY" $TMP/
|
||||||
cd "$TMP/$PRGNAM/" || exit 1
|
cd "$TMP/$PRGNAM/" || exit 1
|
||||||
|
|
||||||
[ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "$VERSION" == "" ] && VERSION=trunk
|
[ "$VERSION" == "" ] && VERSION=trunk
|
||||||
[ "$VERSION" == "trunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout "$VERSION"
|
[ "$VERSION" == "trunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout "$VERSION"
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ cd $TMP
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ cd $TMP
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ rm -fr $PKG $TMP/$PRGNAM
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
|
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -28,7 +28,7 @@ git pull --all
|
||||||
cp -R "$REPOSITORY" $TMP/
|
cp -R "$REPOSITORY" $TMP/
|
||||||
cd "$TMP/$PRGNAM/" || exit
|
cd "$TMP/$PRGNAM/" || exit
|
||||||
|
|
||||||
[ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "$VERSION" == "" ] && VERSION=trunk
|
[ "$VERSION" == "" ] && VERSION=trunk
|
||||||
if [ "$VERSION" == "trunk" ]; then
|
if [ "$VERSION" == "trunk" ]; then
|
||||||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
|
@ -63,7 +63,7 @@ git pull --all
|
||||||
cp -R "$SHARDS_REPOSITORY" "$TMP/"
|
cp -R "$SHARDS_REPOSITORY" "$TMP/"
|
||||||
cd $TMP/$SHARDS_PRGNAM/
|
cd $TMP/$SHARDS_PRGNAM/
|
||||||
|
|
||||||
[ "$SHARDS_VERSION" == "latest" ] && SHARDS_VERSION=$(git describe --tags --abbrev=0)
|
[ "$SHARDS_VERSION" == "latest" ] && SHARDS_VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "$SHARDS_VERSION" == "" ] && SHARDS_VERSION=trunk
|
[ "$SHARDS_VERSION" == "" ] && SHARDS_VERSION=trunk
|
||||||
if [ "$SHARDS_VERSION" == "trunk" ]; then
|
if [ "$SHARDS_VERSION" == "trunk" ]; then
|
||||||
SHARDS_VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
SHARDS_VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
|
|
|
@ -30,7 +30,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
[ -e $TMP/$PRGNAM ] && rm -fr $TMP/$PRGNAM
|
[ -e $TMP/$PRGNAM ] && rm -fr $TMP/$PRGNAM
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ cd $TMP
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ git pull --all
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
|
|
||||||
cd $TMP/$PRGNAM/
|
cd $TMP/$PRGNAM/
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="$(git rev-list --count master)_git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="$(git rev-list --count master)_git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xdevelop" ] && git checkout develop && VERSION=trunk
|
[ "x$VERSION" == "xdevelop" ] && git checkout develop && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -29,7 +29,7 @@ cd $TMP
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xdevelop" ] && git checkout develop && VERSION=trunk
|
[ "x$VERSION" == "xdevelop" ] && git checkout develop && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
|
@ -31,7 +31,7 @@ rm -fr $PKG $TMP/$PRGNAM
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
|
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ cd $TMP
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ cd $TMP
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ cd $TMP
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -103,7 +103,7 @@ case $VERSION in
|
||||||
VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
;;
|
;;
|
||||||
latest)
|
latest)
|
||||||
VERSION=$(git describe --tags --abbrev=0)
|
VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
git checkout "$VERSION"
|
git checkout "$VERSION"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -35,7 +35,7 @@ case $VERSION in
|
||||||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
;;
|
;;
|
||||||
latest)
|
latest)
|
||||||
VERSION=$(git describe --tags --abbrev=0)
|
VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
git checkout "$VERSION"
|
git checkout "$VERSION"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -37,7 +37,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $PRGNAM
|
cp -R $REPOSITORY $PRGNAM
|
||||||
cd $PRGNAM
|
cd $PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
|
|
||||||
cd $TMP/$PRGNAM/
|
cd $TMP/$PRGNAM/
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$( cd $REPOSITORY && git rev-list --count HEAD )" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$( cd $REPOSITORY && git rev-list --count HEAD )" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ cd $TMP
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ git pull --all
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
|
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$( cd $REPOSITORY && git rev-list --count HEAD )" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$( cd $REPOSITORY && git rev-list --count HEAD )" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ git pull --all
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
|
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ git pull --all
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
|
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ cd "$TMP" || exit
|
||||||
cp -R "$REPOSITORY" "${TMP:?}/$PRGNAM"
|
cp -R "$REPOSITORY" "${TMP:?}/$PRGNAM"
|
||||||
cd "$TMP/$PRGNAM" || exit
|
cd "$TMP/$PRGNAM" || exit
|
||||||
|
|
||||||
[ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "$VERSION" == "" ] && VERSION=trunk
|
[ "$VERSION" == "" ] && VERSION=trunk
|
||||||
if [ "$VERSION" == "trunk" ]; then
|
if [ "$VERSION" == "trunk" ]; then
|
||||||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
|
|
|
@ -30,7 +30,7 @@ git pull --all
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM/
|
cd $TMP/$PRGNAM/
|
||||||
|
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ cd $TMP
|
||||||
cp -R $REPOSITORY $TMP/$PRGNAM
|
cp -R $REPOSITORY $TMP/$PRGNAM
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
|
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ cd $TMP
|
||||||
cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM
|
cp -R $REPOSITORIES/$PRGNAM $TMP/$PRGNAM
|
||||||
cd $PRGNAM
|
cd $PRGNAM
|
||||||
|
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ case $VERSION in
|
||||||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
;;
|
;;
|
||||||
latest)
|
latest)
|
||||||
VERSION=$(git describe --tags --abbrev=0)
|
VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
git checkout $VERSION
|
git checkout $VERSION
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -34,7 +34,7 @@ REPOSITORY=/home/installs/SlackBuilds/_repositories/$PRGNAM
|
||||||
cp -R $REPOSITORY $PKG/$VHOSTROOT/htdocs
|
cp -R $REPOSITORY $PKG/$VHOSTROOT/htdocs
|
||||||
cd $PKG/$VHOSTROOT/htdocs
|
cd $PKG/$VHOSTROOT/htdocs
|
||||||
|
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ case $VERSION in
|
||||||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
;;
|
;;
|
||||||
latest)
|
latest)
|
||||||
VERSION=$(git describe --tags --abbrev=0)
|
VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
git checkout $VERSION
|
git checkout $VERSION
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM/
|
cd $TMP/$PRGNAM/
|
||||||
|
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -82,7 +82,7 @@ case $VERSION in
|
||||||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
;;
|
;;
|
||||||
latest)
|
latest)
|
||||||
VERSION=$(git describe --tags --abbrev=0)
|
VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
git checkout $VERSION
|
git checkout $VERSION
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -29,7 +29,7 @@ git pull --all
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM/
|
cd $TMP/$PRGNAM/
|
||||||
|
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ git pull --all
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
|
|
||||||
cd $TMP/$PRGNAM/
|
cd $TMP/$PRGNAM/
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -36,7 +36,7 @@ case $VERSION in
|
||||||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
;;
|
;;
|
||||||
latest)
|
latest)
|
||||||
VERSION=$(git describe --tags --abbrev=0)
|
VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
git checkout $VERSION
|
git checkout $VERSION
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM/
|
cd $TMP/$PRGNAM/
|
||||||
|
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ git pull --all
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM/
|
cd $TMP/$PRGNAM/
|
||||||
|
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ git pull --all
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM/
|
cd $TMP/$PRGNAM/
|
||||||
|
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
cp -R "$REPOSITORY" $TMP/
|
cp -R "$REPOSITORY" $TMP/
|
||||||
cd "$TMP/$PRGNAM/" || exit
|
cd "$TMP/$PRGNAM/" || exit
|
||||||
|
|
||||||
[ "$VERSION" == "latest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "$VERSION" == "latest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "$VERSION" == "" ] && VERSION=trunk
|
[ "$VERSION" == "" ] && VERSION=trunk
|
||||||
if [ "$VERSION" == "trunk" ]; then
|
if [ "$VERSION" == "trunk" ]; then
|
||||||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
|
|
|
@ -37,7 +37,7 @@ case $VERSION in
|
||||||
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
;;
|
;;
|
||||||
latest)
|
latest)
|
||||||
VERSION=$(git describe --tags --abbrev=0)
|
VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
git checkout $VERSION
|
git checkout $VERSION
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -31,7 +31,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -33,7 +33,7 @@ git submodule update
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM/
|
cd $TMP/$PRGNAM/
|
||||||
|
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,7 @@ git pull --all
|
||||||
|
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM
|
cd $TMP/$PRGNAM
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -32,7 +32,7 @@ git pull --all
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM/
|
cd $TMP/$PRGNAM/
|
||||||
|
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
|
@ -40,7 +40,7 @@ case $VERSION in
|
||||||
PKGVERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
PKGVERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
;;
|
;;
|
||||||
latest)
|
latest)
|
||||||
PKGVERSION=$(git describe --tags --abbrev=0)
|
PKGVERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
git checkout "$PKGVERSION"
|
git checkout "$PKGVERSION"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -86,7 +86,7 @@ if [ "$EMBED_WLROOTS" = "yes" ]; then
|
||||||
WLROOTS_VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
WLROOTS_VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
;;
|
;;
|
||||||
latest)
|
latest)
|
||||||
WLROOTS_VERSION=$(git describe --tags --abbrev=0)
|
WLROOTS_VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
git checkout "$WLROOTS_VERSION"
|
git checkout "$WLROOTS_VERSION"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -116,7 +116,7 @@ if [ "$EMBED_LIBLIFTOFF" = "yes" ]; then
|
||||||
LIBLIFTOFF_VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
LIBLIFTOFF_VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
;;
|
;;
|
||||||
latest)
|
latest)
|
||||||
LIBLIFTOFF_VERSION=$(git describe --tags --abbrev=0)
|
LIBLIFTOFF_VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
git checkout "$LIBLIFTOFF_VERSION"
|
git checkout "$LIBLIFTOFF_VERSION"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
@ -146,7 +146,7 @@ if [ "$EMBED_LIBDISPLAYINFO" = "yes" ]; then
|
||||||
LIBDISPLAYINFO_VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
LIBDISPLAYINFO_VERSION="r$(git rev-list --count HEAD)_$(git log -1 --format=%h)"
|
||||||
;;
|
;;
|
||||||
latest)
|
latest)
|
||||||
LIBDISPLAYINFO_VERSION=$(git describe --tags --abbrev=0)
|
LIBDISPLAYINFO_VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
git checkout "$LIBDISPLAYINFO_VERSION"
|
git checkout "$LIBDISPLAYINFO_VERSION"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -32,7 +32,7 @@ git pull --all
|
||||||
cp -R $REPOSITORY $TMP/
|
cp -R $REPOSITORY $TMP/
|
||||||
cd $TMP/$PRGNAM/
|
cd $TMP/$PRGNAM/
|
||||||
|
|
||||||
[ "x$VERSION" == "xlatest" ] && VERSION=$(git describe --tags --abbrev=0)
|
[ "x$VERSION" == "xlatest" ] && VERSION=$(git tag --sort=-taggerdate | head -n1)
|
||||||
[ "x$VERSION" == "x" ] && VERSION=trunk
|
[ "x$VERSION" == "x" ] && VERSION=trunk
|
||||||
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
[ "x$VERSION" == "xtrunk" ] && VERSION="git_r$(git rev-list --count HEAD)_$(git log -1 --format=%h)" || git checkout $VERSION
|
||||||
|
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue