[packages/rpm-build-tools/merge-pld-builder-client: 2246/2675] Fetch upstream tags before determining latest auto tag

glen glen at pld-linux.org
Mon Dec 19 22:03:27 CET 2016


commit a37c9e0ed02b146e17300d5a51810d1979f7d498
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

 make-request.sh | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/make-request.sh b/make-request.sh
index bd9fce3..c9e4b0c 100755
--- a/make-request.sh
+++ b/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"
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list