]> TLD Linux GIT Repositories - packages/rpm-build-tools.git/commitdiff
- pull before geting tag ;)
authorBartosz Świątek <shadzik@tld-linux.org>
Tue, 10 Jul 2012 15:29:52 +0000 (17:29 +0200)
committerBartosz Świątek <shadzik@tld-linux.org>
Tue, 10 Jul 2012 15:29:52 +0000 (17:29 +0200)
kde4send2builders.sh

index 47be9f298c7f4f8b8852f48a53509b404dfcd8f9..04c68da1da96fae86d5182a42228f79eeabea5a6 100755 (executable)
@@ -180,7 +180,7 @@ if [ "$ATAG" == "yes" ]; then
                if [ ! -d $PKG ]; then
                        git clone git@git.tld-linux.org:packages/${PKG}
                fi
-               LAST_AUTOTAG=$(cd $PKG && git tag |tail -n 1)
+               LAST_AUTOTAG=$(cd $PKG && git pull >/dev/null && git tag |tail -n 1)
                sleep 1
                SENDPRIO="$SENDPRIO $spec:$LAST_AUTOTAG "
        done