Set CURRENT_PROJECT_VERSION in just one place so Mac and iOS can share the same build number easily.

This commit is contained in:
Brent Simmons committed 2026-03-17 11:02:21 -07:00
1 parent bcbbb4b7f5
commit 9549fcf86e
5 files changed
+12 -7

No files matched your search

+3 -1
View File
@@ -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
@@ -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.
@@ -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)
@@ -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)
@@ -0,0 +1 @@
CURRENT_PROJECT_VERSION = 7034