[projects/pld-builder.new] Update tags before searching for the latest one

baggins baggins at pld-linux.org
Fri Aug 10 23:03:09 CEST 2012


commit 113cb5b0bbf954fc1f5b28326dd6c19f3859e3ff
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri Aug 10 23:02:36 2012 +0200

    Update tags before searching for the latest one

 client/rebuild-th-kernel.sh | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/client/rebuild-th-kernel.sh b/client/rebuild-th-kernel.sh
index 1571a56..0ca751d 100755
--- a/client/rebuild-th-kernel.sh
+++ b/client/rebuild-th-kernel.sh
@@ -43,6 +43,7 @@ autotag() {
 		# or .ext
 		pkg=${pkg%%.spec}
 		cd $pkg
+		git fetch --tags
 		out=$(git for-each-ref refs/tags/auto/${dist}/${pkg}-${alt_kernel}* --sort=-authordate --format='%(refname:short)' --count=1)
 		echo "$spec:$out"
 		cd - >/dev/null


More information about the pld-cvs-commit mailing list