From: Bartosz Świątek Date: Tue, 10 Jul 2012 15:29:52 +0000 (+0200) Subject: - pull before geting tag ;) X-Git-Url: https://git.tld-linux.org/?a=commitdiff_plain;h=a64787663ab0b62d746362ffbe9ba01dbf3c3050;p=packages%2Frpm-build-tools.git - pull before geting tag ;) --- diff --git a/kde4send2builders.sh b/kde4send2builders.sh index 47be9f2..04c68da 100755 --- a/kde4send2builders.sh +++ b/kde4send2builders.sh @@ -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