Codemagic: Harvest Season's signing files and App Store Apple ID
Signing by reference name, like the team's Timbre app: the Troglodyte App Store Connect integration, the harvest--seasons certificate, and the App Store profile harvest for com.oatmealgames.harvestseason. Build numbers are one past TestFlight's latest (app 6822823738), 1 when there's none. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
e836e9d3b0
commit
59aa97c7a3
2 changed files with 25 additions and 18 deletions
|
|
@ -1,21 +1,27 @@
|
|||
# Codemagic build of the iOS test port (docs/ios-test-port.md): Godot exports the Xcode project
|
||||
# (export_presets.cfg's "iOS" preset, export only), Codemagic signs it, builds the .ipa, and
|
||||
# uploads it to App Store Connect for TestFlight. Starts manually only (no triggering section).
|
||||
# Fill in the FILL IN value (the App Store Connect API key's name) first.
|
||||
workflows:
|
||||
ios-perf-test:
|
||||
name: iOS perf test (TestFlight)
|
||||
instance_type: mac_mini_m2
|
||||
max_build_duration: 60
|
||||
integrations:
|
||||
app_store_connect: FILL IN # the App Store Connect API key's name in Codemagic's team integrations
|
||||
app_store_connect: Troglodyte # the team's App Store Connect API key (shared with Timbre)
|
||||
environment:
|
||||
# Signing files by their reference names in Codemagic (Team settings > Code signing
|
||||
# identities), fetched into the keychain at build start.
|
||||
ios_signing:
|
||||
distribution_type: app_store
|
||||
bundle_identifier: &bundle_id com.oatmealgames.harvestseason
|
||||
certificates:
|
||||
- harvest--seasons
|
||||
provisioning_profiles:
|
||||
- harvest # App Store profile for com.oatmealgames.harvestseason (expires 2027-10-14)
|
||||
vars:
|
||||
BUNDLE_ID: *bundle_id
|
||||
BUNDLE_ID: com.oatmealgames.harvestseason
|
||||
APPLE_TEAM_ID: 823T4Q2T3U
|
||||
# The app's numeric Apple ID (App Store Connect > the app > App Information): each build is
|
||||
# numbered one past the latest on TestFlight, so uploads never collide.
|
||||
APP_STORE_APPLE_ID: 6822823738
|
||||
GODOT_VERSION: 4.7.2
|
||||
xcode: latest
|
||||
cache:
|
||||
|
|
@ -44,11 +50,16 @@ workflows:
|
|||
- name: Export the Xcode project
|
||||
script: |
|
||||
set -euo pipefail
|
||||
# The preset keeps placeholders; the team, bundle ID, and build number come from here.
|
||||
# The team, bundle ID, and build number come from here (the build number is one past
|
||||
# TestFlight's latest; 1 when there's none yet).
|
||||
latest=$(app-store-connect get-latest-testflight-build-number "$APP_STORE_APPLE_ID" 2>/dev/null || echo 0)
|
||||
[[ "$latest" =~ ^[0-9]+$ ]] || latest=0
|
||||
build=$(( latest + 1 ))
|
||||
echo "Build number $build"
|
||||
sed -i '' \
|
||||
-e "s/^application\/app_store_team_id=.*/application\/app_store_team_id=\"$APPLE_TEAM_ID\"/" \
|
||||
-e "s/^application\/bundle_identifier=.*/application\/bundle_identifier=\"$BUNDLE_ID\"/" \
|
||||
-e "s/^application\/version=.*/application\/version=\"$BUILD_NUMBER\"/" \
|
||||
-e "s/^application\/version=.*/application\/version=\"$build\"/" \
|
||||
export_presets.cfg
|
||||
mkdir -p build/ios
|
||||
"$GODOT" --headless --path . --export-release "iOS" build/ios/HarvestSeason.ipa
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue