X-Git-Url: https://git.tld-linux.org/?p=packages%2Frpm-build-tools.git;a=blobdiff_plain;f=kde4send2builders.sh;h=04c68da1da96fae86d5182a42228f79eeabea5a6;hp=47be9f298c7f4f8b8852f48a53509b404dfcd8f9;hb=a64787663ab0b62d746362ffbe9ba01dbf3c3050;hpb=ba21087060fcd1f76b79df45c89f4cb2fe9bf877 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