diff --git a/Makefile.common b/Makefile.common index 605c4d3..dc7de83 100644 --- a/Makefile.common +++ b/Makefile.common @@ -279,6 +279,7 @@ sources: @$(MAKE) generateupstream; \ [ $$? -eq 0 ] && exit 0; \ nvr="$$(rpmspec --srpm -q --qf '%{NAME}\t%{VERSION}\t%{RELEASE}\n' $(SPECFILE))"; \ + git -C $(TOPLVL)/projects/common fetch --tags >/dev/null 2>&1; \ latest_builds=$$(git -C $(TOPLVL)/projects/common tag -l | sort -rn); \ for b in $$latest_builds; do \ url="$(DOWNLOAD_MIRROR)/releases/$$b/clear/source/package-sources"; \