Downgrade semantic version

This commit is contained in:
Balazs Perlaki-Horvath 2024-01-13 20:20:04 +01:00
parent c47aa01bd1
commit 14b328b6b0
2 changed files with 3 additions and 2 deletions

View File

@ -56,7 +56,8 @@ class InfoParser:
dict = {
"templates": ["ApplicationTemplate"],
"settings": {"base": {
"MARKETING_VERSION": self.version.semantic,
# TODO: change to .semantic, once builds are OK
"MARKETING_VERSION": self.version.semantic_downgraded,
"PRODUCT_BUNDLE_IDENTIFIER": f"org.kiwix.custom.{self.brand_name}",
"INFOPLIST_FILE": f"custom/{self._info_plist_path()}",
"INFOPLIST_KEY_CFBundleDisplayName": self._app_name(),

View File

@ -38,7 +38,7 @@ def _is_valid(tag):
if parser.version != version:
_exit_with_error(f"Invalid date in tag: {tag}, does not match year.month of ZIM file in {brand.info_file}, it should be: {parser.version.semantic}")
print(f"{brand.name} {version.semantic_downgraded}")
print(f"{brand.name} {version.build_number}")
else:
_exit_with_error(f"Invalid tag: {tag}")