[Beta-Updates]: use CURRENT_PROJECT_VERSION instead of MARKETING_VERSION for commit ID marker

This commit is contained in:
Magesh K
2024-12-18 00:27:58 +05:30
parent dd8d6d447f
commit 09e39d1ead
3 changed files with 5 additions and 5 deletions

View File

@@ -36,7 +36,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>1</string>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>

View File

@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>$(PRODUCT_BUNDLE_PACKAGE_TYPE)</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>

View File

@@ -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/