1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-17 10:40:12 +02:00

With git, fetch tags, they might not be on the current (or any) branch

This commit is contained in:
Ciaran Gultnieks 2011-12-08 14:44:48 +00:00
parent b20a730d40
commit 03a4e42be5

View File

@ -106,6 +106,11 @@ class vcs_git(vcs):
cwd=self.local) != 0:
print "Git pull failed"
sys.exit(1)
# Might need tags that aren't on a branch.
if subprocess.call(['git', 'fetch', '--tags', 'origin'],
cwd=self.local) != 0:
print "Git fetch failed"
sys.exit(1)
def initsubmodules(self):
if subprocess.call(['git', 'submodule', 'init'],