Skip to content

Commit 70de71c

Browse files
committed
chore(ios): fastlane metadata-Lane für deliver-Upload
asc_key-Helper + metadata-Lane (deliver, skip_binary_upload) zum Hochladen von Store-Texten und Screenshots über den App Store Connect API Key.
1 parent 38d670f commit 70de71c

1 file changed

Lines changed: 24 additions & 6 deletions

File tree

frontend/ios/App/fastlane/Fastfile

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@ APP_ID = "net.ev-monitor.app"
44
TEAM = "6ZH342F44B"
55
SIGN_DIR = File.expand_path("~/ev-monitor-ios-signing")
66

7+
def asc_key
8+
app_store_connect_api_key(
9+
key_id: ENV["ASC_KEY_ID"],
10+
issuer_id: ENV["ASC_ISSUER_ID"],
11+
key_filepath: ENV["ASC_KEY_PATH"]
12+
)
13+
end
14+
715
platform :ios do
816
desc "Build und Upload zu TestFlight (App Store Connect API Key)"
917
lane :beta do
10-
key = app_store_connect_api_key(
11-
key_id: ENV["ASC_KEY_ID"],
12-
issuer_id: ENV["ASC_ISSUER_ID"],
13-
key_filepath: ENV["ASC_KEY_PATH"]
14-
)
15-
18+
key = asc_key
1619
cert(api_key: key, output_path: SIGN_DIR)
1720
sigh(api_key: key, app_identifier: APP_ID, platform: "ios", output_path: SIGN_DIR)
1821

@@ -40,4 +43,19 @@ platform :ios do
4043
skip_waiting_for_build_processing: true
4144
)
4245
end
46+
47+
desc "Store-Texte + Screenshots hochladen (ohne Binary, ohne Review-Einreichung)"
48+
lane :metadata do
49+
deliver(
50+
api_key: asc_key,
51+
app_identifier: APP_ID,
52+
app_version: "1.0",
53+
skip_binary_upload: true,
54+
submit_for_review: false,
55+
overwrite_screenshots: true,
56+
run_precheck_before_submit: false,
57+
precheck_include_in_app_purchases: false,
58+
force: true
59+
)
60+
end
4361
end

0 commit comments

Comments
 (0)