diff --git a/build.sh b/build.sh index 2cb69df..dde5070 100755 --- a/build.sh +++ b/build.sh @@ -20,9 +20,10 @@ if [ ! -d $TEMPLATE ]; then git clone git@gordon.zumepro.cz:tul/tultemplate2 $TEMPLATE else cd $TEMPLATE - git pull + git fetch --tags cd .. fi +git checkout $(git describe --tags "$(git rev-list --tags --max-count=1)") TEMPLATE_PACKDIR=$TEMPLATE/pack/bundle