Skip to content

Commit 9439cc3

Browse files
authored
Merge pull request #3 from jsonify:hotfix/updated-macos-version
Update macOS deployment target to 14.0
2 parents 8402a20 + 3e9ee39 commit 9439cc3

File tree

4 files changed

+20
-16
lines changed

4 files changed

+20
-16
lines changed

.github/workflows/cicd.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ env:
2222
BUNDLE_ID: com.jsonify.clickit
2323

2424
# macOS deployment target
25-
MACOSX_DEPLOYMENT_TARGET: "15.0"
25+
MACOSX_DEPLOYMENT_TARGET: "14.0"
2626

2727
# Swift configuration
2828
SWIFT_VERSION: "6.1"
@@ -157,7 +157,7 @@ jobs:
157157
158158
- name: 🏗️ Build App Bundle
159159
run: |
160-
./build_app.sh release
160+
./build_app_unified.sh release
161161
echo "✅ App bundle created"
162162
163163
- name: 📦 Create Release Assets
@@ -206,14 +206,14 @@ jobs:
206206
fi
207207
208208
CHANGELOG="⚠️ **This is a beta release for testing purposes.**\n\n${CHANGELOG}"
209-
CHANGELOG="${CHANGELOG}\n\n---\n🤖 Generated with [Claude Code](https://claude.ai/code)\n📱 Compatible with macOS 15.0 or later"
209+
CHANGELOG="${CHANGELOG}\n\n---\n🤖 Generated with [Claude Code](https://claude.ai/code)\n📱 Compatible with macOS 14.0 or later"
210210
211211
echo "changelog<<EOF" >> $GITHUB_OUTPUT
212212
echo -e "$CHANGELOG" >> $GITHUB_OUTPUT
213213
echo "EOF" >> $GITHUB_OUTPUT
214214
215215
- name: 🐙 Create GitHub Release
216-
uses: ncipollo/create-release@v1
216+
uses: ncipollo/create-release@v1.14.0
217217
with:
218218
tag: ${{ github.ref_name }}
219219
name: "${{ env.APP_NAME }} ${{ env.BETA_VERSION }}"
@@ -320,7 +320,7 @@ jobs:
320320
<link>\(release.htmlUrl)</link>
321321
<sparkle:version>\(version)</sparkle:version>
322322
<sparkle:shortVersionString>\(version)</sparkle:shortVersionString>
323-
<sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>
323+
<sparkle:minimumSystemVersion>14.0</sparkle:minimumSystemVersion>
324324
<pubDate>\(pubDate)</pubDate>
325325
<enclosure url="\(zipAsset.browserDownloadUrl)"
326326
length="\(zipAsset.size)"
@@ -404,7 +404,7 @@ jobs:
404404
405405
- name: 🏗️ Build App Bundle
406406
run: |
407-
./build_app.sh release
407+
./build_app_unified.sh release
408408
echo "✅ App bundle created"
409409
410410
- name: 📦 Create Release Assets
@@ -452,14 +452,14 @@ jobs:
452452
done
453453
fi
454454
455-
CHANGELOG="${CHANGELOG}\n\n---\n🤖 Generated with [Claude Code](https://claude.ai/code)\n📱 Compatible with macOS 15.0 or later"
455+
CHANGELOG="${CHANGELOG}\n\n---\n🤖 Generated with [Claude Code](https://claude.ai/code)\n📱 Compatible with macOS 14.0 or later"
456456
457457
echo "changelog<<EOF" >> $GITHUB_OUTPUT
458458
echo -e "$CHANGELOG" >> $GITHUB_OUTPUT
459459
echo "EOF" >> $GITHUB_OUTPUT
460460
461461
- name: 🐙 Create GitHub Release
462-
uses: ncipollo/create-release@v1
462+
uses: ncipollo/create-release@v1.14.0
463463
with:
464464
tag: ${{ github.ref_name }}
465465
name: "${{ env.APP_NAME }} v${{ env.VERSION }}"
@@ -559,7 +559,7 @@ jobs:
559559
<link>\(release.htmlUrl)</link>
560560
<sparkle:version>\(version)</sparkle:version>
561561
<sparkle:shortVersionString>\(version)</sparkle:shortVersionString>
562-
<sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>
562+
<sparkle:minimumSystemVersion>14.0</sparkle:minimumSystemVersion>
563563
<pubDate>\(pubDate)</pubDate>
564564
<enclosure url="\(zipAsset.browserDownloadUrl)"
565565
length="\(zipAsset.size)"
@@ -723,7 +723,7 @@ jobs:
723723
<link>\(release.htmlUrl)</link>
724724
<sparkle:version>\(version)</sparkle:version>
725725
<sparkle:shortVersionString>\(version)</sparkle:shortVersionString>
726-
<sparkle:minimumSystemVersion>15.0</sparkle:minimumSystemVersion>
726+
<sparkle:minimumSystemVersion>14.0</sparkle:minimumSystemVersion>
727727
<pubDate>\(pubDate)</pubDate>
728728
<enclosure url="\(zipAsset.browserDownloadUrl)"
729729
length="\(zipAsset.size)"

.github/workflows/release.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ env:
1818
jobs:
1919
build-and-release:
2020
name: 🔨 Build Universal App & Create Release
21-
runs-on: macos-latest
21+
runs-on: macos-15
2222

2323
steps:
2424
- name: 📥 Checkout Code
@@ -52,6 +52,11 @@ jobs:
5252
- name: 🏗️ Build Universal App with Xcode
5353
run: |
5454
echo "🔨 Building ${{ env.APP_NAME }} with Xcode..."
55+
# Set environment variables for CI build (disable code signing, fix deployment target)
56+
export CODE_SIGN_IDENTITY=""
57+
export CODE_SIGNING_REQUIRED=NO
58+
export CODE_SIGNING_ALLOWED=NO
59+
export MACOSX_DEPLOYMENT_TARGET=14.0
5560
./build_app_unified.sh release xcode
5661
5762
echo "📦 Creating release archive..."
@@ -110,7 +115,7 @@ jobs:
110115
echo "- 🔄 **Auto-Updates**: Built-in Sparkle framework integration" >> release_notes.md
111116
echo "" >> release_notes.md
112117
echo "## 📋 System Requirements" >> release_notes.md
113-
echo "- **macOS**: 15.0 or later" >> release_notes.md
118+
echo "- **macOS**: 14.0 or later" >> release_notes.md
114119
echo "- **Architecture**: Universal Binary (Intel x64 + Apple Silicon)" >> release_notes.md
115120
echo "- **Permissions**: Accessibility and Screen Recording access required" >> release_notes.md
116121
echo "" >> release_notes.md
@@ -135,7 +140,7 @@ jobs:
135140
echo "🏗️ **Built with**: Xcode on GitHub Actions" >> release_notes.md
136141
echo "📅 **Build Date**: $(date -u '+%Y-%m-%d %H:%M:%S UTC')" >> release_notes.md
137142
echo "🔖 **Version**: ${VERSION}" >> release_notes.md
138-
echo "🎯 **Target**: macOS 15.0+" >> release_notes.md
143+
echo "🎯 **Target**: macOS 14.0+" >> release_notes.md
139144
140145
echo "release_notes_file=release_notes.md" >> $GITHUB_OUTPUT
141146
@@ -147,7 +152,6 @@ jobs:
147152
body_path: release_notes.md
148153
draft: false
149154
prerelease: false
150-
make_latest: true
151155
files: |
152156
dist/${{ env.APP_NAME }}.app.zip
153157
dist/build-info.txt

ClickIt/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>LSMinimumSystemVersion</key>
22-
<string>15.0</string>
22+
<string>14.0</string>
2323
<key>LSUIElement</key>
2424
<false/>
2525
<key>NSHighResolutionCapable</key>

build_app_unified.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ else
219219
<key>CFBundleVersion</key>
220220
<string>$BUILD_NUMBER</string>
221221
<key>LSMinimumSystemVersion</key>
222-
<string>15.0</string>
222+
<string>${MACOSX_DEPLOYMENT_TARGET:-14.0}</string>
223223
<key>LSUIElement</key>
224224
<false/>
225225
<key>NSHighResolutionCapable</key>

0 commit comments

Comments
 (0)