[projects/pld-builder.new] Fetch upstream tags before determining latest auto tag

draenog draenog at pld-linux.org
Sat Aug 4 21:37:37 CEST 2012


commit c8f41dbcc596ebc1d5e89340ecb301fa3e0d5ddb
Author: Kacper Kornet <draenog at pld-linux.org>
Date:   Sat Aug 4 20:33:48 2012 +0100

    Fetch upstream tags before determining latest auto tag

 client/make-request.sh | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/client/make-request.sh b/client/make-request.sh
index bd9fce3..c9e4b0c 100755
--- a/client/make-request.sh
+++ b/client/make-request.sh
@@ -161,6 +161,7 @@ autotag() {
 		# ensure package ends with .spec
 		s=${s%.spec}.spec
 		local gitdir=$(dirname $s)/.git
+		git --git-dir="$gitdir" fetch --tags
 		out=$(git --git-dir="$gitdir" for-each-ref --count=1 --sort=-authordate refs/tags/auto/$dist \
 			--format='%(refname:short)')
 		echo "$s:$out"


More information about the pld-cvs-commit mailing list