make version check smarter: only compare to tags having the same non-digit prefix
[mass-build.git] / mass_build.py
index 0060da2c5118597ab24eba73a82d9c2a648bc203..1732565259b308d04f93451eb8aecd2542e02fe0 100755 (executable)
@@ -28,7 +28,7 @@ class Project:
                # VCS
                vcsName = config['vcs']
                if vcsName == 'git':
-                       self.vcs = vcs.Git(self.sourceFolder(), config['url'], config['version'])
+                       self.vcs = vcs.Git(self.sourceFolder(), config)
                elif vcsName == 'svn':
                        self.vcs = vcs.SVN(self.sourceFolder(), config['url'])
                else: