commit 18a983f9dde6f7ae0b9ed947e8c13e5c2ec94282
Author: Jan RÄ™korajski <[email protected]>
Date:   Fri Aug 10 23:02:36 2012 +0200

    Update tags before searching for the latest one

 rebuild-th-kernel.sh | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/rebuild-th-kernel.sh b/rebuild-th-kernel.sh
index 1571a56..0ca751d 100755
--- a/rebuild-th-kernel.sh
+++ b/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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/rpm-build-tools.git/commitdiff/cca6584b96e6c33d0732d559e43e100d804e2ecd

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to