From 9549fcf86e6c8e1cf75a8a61d5ef797c7380d7fe Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Tue, 17 Mar 2026 11:02:21 -0700 Subject: [PATCH] Set CURRENT_PROJECT_VERSION in just one place so Mac and iOS can share the same build number easily. --- Technotes/HowToDoMacSparkleRelease.markdown | 4 +++- Technotes/HowToDoiOSTestFlightRelease.markdown | 6 +++--- xcconfig/common/NetNewsWire_ios_target_common.xcconfig | 3 ++- xcconfig/common/NetNewsWire_mac_target_common.xcconfig | 5 +++-- xcconfig/common/NetNewsWire_version.xcconfig | 1 + 5 files changed, 12 insertions(+), 7 deletions(-) create mode 100644 xcconfig/common/NetNewsWire_version.xcconfig diff --git a/Technotes/HowToDoMacSparkleRelease.markdown b/Technotes/HowToDoMacSparkleRelease.markdown index e92451646..e53ae95ee 100644 --- a/Technotes/HowToDoMacSparkleRelease.markdown +++ b/Technotes/HowToDoMacSparkleRelease.markdown @@ -1,7 +1,9 @@ # How To Do Mac Sparkle Release NetNewsWire_mac_target_common.xcconfig - update MARKETING_VERSION and CURRENT_PROJECT_VERSION + update MARKETING_VERSION +NetNewsWire_version.xcconfig + update CURRENT_PROJECT_VERSION if needed (might have just been done for iOS) Run buildscripts/quiet_build_and_test.sh diff --git a/Technotes/HowToDoiOSTestFlightRelease.markdown b/Technotes/HowToDoiOSTestFlightRelease.markdown index 1f9c7a3d9..54bd2ed6e 100644 --- a/Technotes/HowToDoiOSTestFlightRelease.markdown +++ b/Technotes/HowToDoiOSTestFlightRelease.markdown @@ -5,9 +5,9 @@ Be sure to have updated code and be *on correct branch* ## Edit Build Version NetNewsWire_ios_target_common.xcconfig - -Possibly bump MARKETING_VERSION -Increment CURRENT_PROJECT_VERSION by 1 (usually) + Possibly bump MARKETING_VERSION +NetNewsWire_version.xcconfig + update CURRENT_PROJECT_VERSION if needed (might have just been done for Mac) Commit change. diff --git a/xcconfig/common/NetNewsWire_ios_target_common.xcconfig b/xcconfig/common/NetNewsWire_ios_target_common.xcconfig index 5ad60e9bc..e04eb22fe 100644 --- a/xcconfig/common/NetNewsWire_ios_target_common.xcconfig +++ b/xcconfig/common/NetNewsWire_ios_target_common.xcconfig @@ -1,6 +1,7 @@ +#include "./NetNewsWire_version.xcconfig" + // High Level Settings common to both the iOS application and any extensions we bundle with it MARKETING_VERSION = 7.0.2 -CURRENT_PROJECT_VERSION = 7033 APP_GROUP_ID = group.$(ORGANIZATION_IDENTIFIER).NetNewsWire.iOS$(APP_GROUP_SUFFIX) diff --git a/xcconfig/common/NetNewsWire_mac_target_common.xcconfig b/xcconfig/common/NetNewsWire_mac_target_common.xcconfig index cc07e0995..e9a02d8c5 100644 --- a/xcconfig/common/NetNewsWire_mac_target_common.xcconfig +++ b/xcconfig/common/NetNewsWire_mac_target_common.xcconfig @@ -1,6 +1,7 @@ +#include "./NetNewsWire_version.xcconfig" + // High Level Settings common to both the Mac application and any extensions we bundle with it -MARKETING_VERSION = 7.0.2b5 -CURRENT_PROJECT_VERSION = 7026 +MARKETING_VERSION = 7.0.2b6 APP_GROUP_ID = group.$(ORGANIZATION_IDENTIFIER).NetNewsWire-Evergreen$(APP_GROUP_SUFFIX) diff --git a/xcconfig/common/NetNewsWire_version.xcconfig b/xcconfig/common/NetNewsWire_version.xcconfig new file mode 100644 index 000000000..0ffa12fff --- /dev/null +++ b/xcconfig/common/NetNewsWire_version.xcconfig @@ -0,0 +1 @@ +CURRENT_PROJECT_VERSION = 7034