mirror of
https://github.com/kiwix/kiwix-apple-custom.git
synced 2025-09-22 11:51:04 -04:00
Downgrade semantic version
This commit is contained in:
parent
c47aa01bd1
commit
14b328b6b0
@ -56,7 +56,8 @@ class InfoParser:
|
|||||||
dict = {
|
dict = {
|
||||||
"templates": ["ApplicationTemplate"],
|
"templates": ["ApplicationTemplate"],
|
||||||
"settings": {"base": {
|
"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}",
|
"PRODUCT_BUNDLE_IDENTIFIER": f"org.kiwix.custom.{self.brand_name}",
|
||||||
"INFOPLIST_FILE": f"custom/{self._info_plist_path()}",
|
"INFOPLIST_FILE": f"custom/{self._info_plist_path()}",
|
||||||
"INFOPLIST_KEY_CFBundleDisplayName": self._app_name(),
|
"INFOPLIST_KEY_CFBundleDisplayName": self._app_name(),
|
||||||
|
@ -38,7 +38,7 @@ def _is_valid(tag):
|
|||||||
if parser.version != version:
|
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}")
|
_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:
|
else:
|
||||||
_exit_with_error(f"Invalid tag: {tag}")
|
_exit_with_error(f"Invalid tag: {tag}")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user