You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2025. It is now read-only.
Add explicit instructions about setting MARKETING_VERSION with pre-release
suffixes in version.xcconfig to prevent double suffix issues like
'v2.0.0-beta.3-beta.3'
Copy file name to clipboardExpand all lines: docs/RELEASE.md
+20-5Lines changed: 20 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,18 +32,33 @@ Before creating any release, ensure the CHANGELOG.md file contains a proper sect
32
32
33
33
**CRITICAL**: The appcast generation relies on the local CHANGELOG.md file, NOT the GitHub release description. The changelog must be added to CHANGELOG.md BEFORE running the release script.
34
34
35
-
### Step 3: Create the Release
35
+
### Step 3: Update Version Configuration
36
+
Before creating a release, update the version in `VibeMeter/version.xcconfig`:
37
+
38
+
```
39
+
MARKETING_VERSION = 2.0.0 # For stable releases
40
+
MARKETING_VERSION = 2.0.0-beta.3 # For pre-releases
41
+
CURRENT_PROJECT_VERSION = 203 # Must increment for each release
42
+
```
43
+
44
+
**CRITICAL**:
45
+
- For pre-releases, include the suffix in MARKETING_VERSION (e.g., "2.0.0-beta.3")
46
+
- For stable releases, use only the base version (e.g., "2.0.0")
47
+
- The release script will detect and use the version as configured
./scripts/release.sh beta 3#Expects version.xcconfig to have "2.0.0-beta.3"
57
+
./scripts/release.sh alpha 2 #Expects version.xcconfig to have "2.0.0-alpha.2"
58
+
./scripts/release.sh rc 1 #Expects version.xcconfig to have "2.0.0-rc.1"
44
59
```
45
60
46
-
**IMPORTANT**: The release script does NOT automatically increment build numbers. You must manually update the build number in Project.swift before running the script, or it will fail the pre-flight check.
61
+
**IMPORTANT**: The release script validates that the version in version.xcconfig matches the expected format for the release type.
47
62
48
63
The script will:
49
64
1. Validate build number is unique and incrementing
0 commit comments