From 09e39d1eadbd766f9ca203193e45750e413e8dbe Mon Sep 17 00:00:00 2001 From: Magesh K <47920326+mahee96@users.noreply.github.com> Date: Wed, 18 Dec 2024 00:27:58 +0530 Subject: [PATCH] [Beta-Updates]: use CURRENT_PROJECT_VERSION instead of MARKETING_VERSION for commit ID marker --- AltBackup/Info.plist | 2 +- AltStoreCore/Info.plist | 2 +- Makefile | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/AltBackup/Info.plist b/AltBackup/Info.plist index f7bbedb6..c169189d 100644 --- a/AltBackup/Info.plist +++ b/AltBackup/Info.plist @@ -36,7 +36,7 @@ CFBundleVersion - 1 + $(CURRENT_PROJECT_VERSION) LSRequiresIPhoneOS UILaunchStoryboardName diff --git a/AltStoreCore/Info.plist b/AltStoreCore/Info.plist index 9bcb2444..c0701c6d 100644 --- a/AltStoreCore/Info.plist +++ b/AltStoreCore/Info.plist @@ -15,7 +15,7 @@ CFBundlePackageType $(PRODUCT_BUNDLE_PACKAGE_TYPE) CFBundleShortVersionString - 1.0 + $(MARKETING_VERSION) CFBundleVersion $(CURRENT_PROJECT_VERSION) diff --git a/Makefile b/Makefile index 444e0964..de9051ec 100755 --- a/Makefile +++ b/Makefile @@ -174,10 +174,10 @@ print_commit_id: print_release_type: @if [ -z "$(BETA_COMMIT_ID)" ]; then \ echo ">>>>>>>> This is now a STABLE release because BETA_COMMIT_ID = $(BETA_COMMIT_ID) <<<<<<<<<"; \ - echo " Using default MARKETING_VERSION from project.pbxproj."; \ + echo " Using default CURRENT_PROJECT_VERSION from project.pbxproj."; \ else \ echo ">>>>>>>> This is now a BETA release for BETA_COMMIT_ID = $(BETA_COMMIT_ID) <<<<<<<<<"; \ - echo " Building with MARKETING_VERSION=$(BETA_COMMIT_ID)"; \ + echo " Building with CURRENT_PROJECT_VERSION=$(BETA_COMMIT_ID)"; \ fi @echo "" @@ -193,7 +193,7 @@ build: print_commit_id print_release_type DEVELOPMENT_TEAM=XYZ0123456 \ ORG_IDENTIFIER=com.SideStore \ DWARF_DSYM_FOLDER_PATH="." \ - MARKETING_VERSION=$(BETA_COMMIT_ID) + CURRENT_PROJECT_VERSION=$(BETA_COMMIT_ID) fakesign: rm -rf archive.xcarchive/Products/Applications/SideStore.app/Frameworks/AltStoreCore.framework/Frameworks/