Skip to content

Commit 968db32

Browse files
BohdanBohdan
authored andcommitted
Bump version to 1.3, add vibrant About pane, show all layouts in menu, add DEPLOY.md
1 parent 63f4c49 commit 968db32

File tree

4 files changed

+62
-4
lines changed

4 files changed

+62
-4
lines changed

DEPLOY.md

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
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`

LanguageFlag.xcodeproj/project.pbxproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@
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 = "";
@@ -496,7 +496,7 @@
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 = "";

LanguageFlag/LanguageFlag.entitlements

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<plist version="1.0">
44
<dict>
55
<key>com.apple.security.app-sandbox</key>
6-
<true/>
6+
<false/>
77
<key>com.apple.security.files.user-selected.read-only</key>
88
<true/>
99
</dict>

LanguageFlag/Supporting files/Info.plist

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
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>
@@ -36,5 +36,7 @@
3636
<true/>
3737
<key>NSQuitAlwaysKeepsWindows</key>
3838
<false/>
39+
<key>NSInputMonitoringUsageDescription</key>
40+
<string>LanguageFlag monitors keyboard input to detect Caps Lock state changes.</string>
3941
</dict>
4042
</plist>

0 commit comments

Comments
 (0)