Merge pull request #559 from kiwix/move_to_main

This commit is contained in:
Matthieu Gautier 2022-12-22 15:57:48 +01:00 committed by GitHub
commit 720209891d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 1 deletions

View File

@ -142,7 +142,7 @@ class GitClone(Source):
@property
def release_git_ref(self):
return main_project_versions.get(self.name, "master")
return main_project_versions.get(self.name, self.base_git_ref)
@property
def source_dir(self):

View File

@ -11,6 +11,7 @@ class Libzim(Dependency):
class Source(GitClone):
git_remote = "https://github.com/openzim/libzim.git"
git_dir = "libzim"
base_git_ref = "main"
class Builder(MesonBuilder):
test_option = "-t 8"

View File

@ -10,6 +10,7 @@ class ZimTools(Dependency):
class Source(GitClone):
git_remote = "https://github.com/openzim/zim-tools.git"
git_dir = "zim-tools"
base_git_ref = "main"
class Builder(MesonBuilder):
@classmethod