Files
jarvis/.github/workflows/release.yml
Kutesir bd632a1592
Some checks are pending
CI / Build · Debug (push) Waiting to run
CI / Build · Release (push) Waiting to run
rename: Jarvis -> Jervis target, scheme, and folder throughout
The bundle-ID and display-name renames weren't enough — the actual
Xcode target/product name was still "Jarvis", which drives CFBundleName,
Xcode's Organizer archive list, the .xcodeproj filename, and the scheme
name. Renamed all the way through:

- project.yml: top-level name, target key, PRODUCT_NAME, source/info paths
- Jarvis/ -> Jervis/ (source folder, git-tracked as renames, no content
  diffs on the moved files)
- .gitignore, CI workflows, README, CONTRIBUTING: Jarvis.xcodeproj /
  scheme Jarvis -> Jervis.xcodeproj / scheme Jervis

Verified: xcodebuild -scheme Jervis succeeds, produces Jervis.app,
CFBundleName/CFBundleExecutable/CFBundleDisplayName all read "Jervis".
CFBundleIdentifier intentionally stays com.kisani.jarvis (per prior
decision — bundle ID isn't user-facing anywhere including Organizer).

Swift type names (JarvisApp, JarvisWordmark, etc.) and the Gitea repo
name/URL are unchanged — pure internal source identifiers, not user or
developer-facing product identity.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-13 03:49:31 +03:00

66 lines
2.0 KiB
YAML

# Triggers on merge to main. Archives the app and exports an IPA.
# TestFlight upload requires three secrets set in:
# Gitea → Repository Settings → Actions → Secrets
#
# ASC_KEY_ID — App Store Connect API key ID (e.g. ABC123DEFG)
# ASC_ISSUER_ID — Issuer ID from App Store Connect → Users → API Keys
# ASC_PRIVATE_KEY — Full contents of the downloaded .p8 file
#
# The runner Mac must have the distribution certificate and team K8BLMMR883
# provisioning profile in its keychain (set up once in Xcode on that machine).
name: Release
on:
push:
branches: [main]
jobs:
archive:
name: Archive & Export IPA
runs-on: [self-hosted, macos]
steps:
- uses: actions/checkout@v4
- name: Xcode version
run: xcodebuild -version
- name: Install XcodeGen
run: brew list xcodegen &>/dev/null || brew install xcodegen
- name: Generate Xcode project
run: xcodegen generate
- name: Archive (Release, device)
run: |
set -o pipefail
xcodebuild archive \
-project Jervis.xcodeproj \
-scheme Jervis \
-configuration Release \
-sdk iphoneos \
-archivePath build/Jervis.xcarchive \
DEVELOPMENT_TEAM=K8BLMMR883
- name: Export IPA
run: |
set -o pipefail
xcodebuild -exportArchive \
-archivePath build/Jervis.xcarchive \
-exportPath build/ipa \
-exportOptionsPlist ExportOptions.plist
- name: Upload to TestFlight
env:
ASC_KEY_ID: ${{ secrets.ASC_KEY_ID }}
ASC_ISSUER_ID: ${{ secrets.ASC_ISSUER_ID }}
ASC_PRIVATE_KEY: ${{ secrets.ASC_PRIVATE_KEY }}
run: |
echo "$ASC_PRIVATE_KEY" > /tmp/AuthKey_${ASC_KEY_ID}.p8
xcrun altool --upload-app \
--type ios \
--file build/ipa/Jervis.ipa \
--apiKey "$ASC_KEY_ID" \
--apiIssuer "$ASC_ISSUER_ID"
rm -f /tmp/AuthKey_${ASC_KEY_ID}.p8