File tree Expand file tree Collapse file tree 3 files changed +60
-3
lines changed
LanguageFlag/Supporting files Expand file tree Collapse file tree 3 files changed +60
-3
lines changed Original file line number Diff line number Diff line change 1+ # Version Update & Deploy
2+
3+ ## 1. Update Version Numbers
4+
5+ Three places need the new version (e.g. ` 1.3 ` ):
6+
7+ ### Info.plist
8+ <!-- path: LanguageFlag/Supporting files/Info.plist -->
9+ ``` xml
10+ <key >CFBundleShortVersionString</key >
11+ <string >1.3</string >
12+ <key >CFBundleVersion</key >
13+ <string >1</string >
14+ ```
15+ > Bump ` CFBundleVersion ` (build number) if shipping multiple builds of the same marketing version.
16+
17+ ### project.pbxproj (Xcode)
18+ Easiest via ** Xcode → Target → General → Identity → Version** , which updates both Debug and Release configs automatically.
19+
20+ Alternatively, ensure ` MARKETING_VERSION ` matches in the ` .pbxproj ` for both configurations.
21+
22+ ---
23+
24+ ## 2. Commit & Push
25+
26+ ``` bash
27+ git add -A
28+ git commit -m " Bump version to 1.3"
29+ git push origin main
30+ ```
31+
32+ ---
33+
34+ ## 3. Create a Git Tag to Trigger Release
35+
36+ The CI workflow (` .github/workflows/release.yml ` ) triggers on tags matching ` v* ` :
37+
38+ ``` bash
39+ git tag v1.3
40+ git push origin v1.3
41+ ```
42+
43+ This kicks off the release workflow which:
44+
45+ 1 . ** Archives** the app with ` xcodebuild archive ` (Release config, ad-hoc signed)
46+ 2 . ** Zips** the ` .app ` into ` LanguageFlag-1.3.zip ` and ` LanguageFlag.zip `
47+ 3 . ** Creates a GitHub Release** with auto-generated notes and both zip files attached
48+ 4 . ** Updates the Homebrew tap** (` bohdan-ios/homebrew-languageflag ` ) with the new version and SHA256
49+
50+ ---
51+
52+ ## 4. Verify
53+
54+ - Check [ GitHub Releases] ( https://github.com/bohdan-ios/LanguageFlag/releases ) for the new release
55+ - Verify Homebrew: ` brew update && brew info languageflag `
56+ - Test install: ` brew install --cask bohdan-ios/languageflag/languageflag `
Original file line number Diff line number Diff line change 465465 "@executable_path/../Frameworks",
466466 );
467467 MACOSX_DEPLOYMENT_TARGET = 12;
468- MARKETING_VERSION = 1.2 ;
468+ MARKETING_VERSION = 1.3 ;
469469 PRODUCT_BUNDLE_IDENTIFIER = com.localmaster.languageflag;
470470 PRODUCT_NAME = "$(TARGET_NAME)";
471471 PROVISIONING_PROFILE_SPECIFIER = "";
496496 "@executable_path/../Frameworks",
497497 );
498498 MACOSX_DEPLOYMENT_TARGET = 12;
499- MARKETING_VERSION = 1.2 ;
499+ MARKETING_VERSION = 1.3 ;
500500 PRODUCT_BUNDLE_IDENTIFIER = com.localmaster.languageflag;
501501 PRODUCT_NAME = "$(TARGET_NAME)";
502502 PROVISIONING_PROFILE_SPECIFIER = "";
Original file line number Diff line number Diff line change 1717 <key >CFBundlePackageType </key >
1818 <string >$(PRODUCT_BUNDLE_PACKAGE_TYPE) </string >
1919 <key >CFBundleShortVersionString </key >
20- <string >1.1.0 </string >
20+ <string >1.3 </string >
2121 <key >CFBundleVersion </key >
2222 <string >1 </string >
2323 <key >LSApplicationCategoryType </key >
3636 <true />
3737 <key >NSQuitAlwaysKeepsWindows </key >
3838 <false />
39+
3940</dict >
4041</plist >
You can’t perform that action at this time.
0 commit comments