commit 663b1f2fabd305ed3896c99fb1303a6032494ebd
parent aeefed1c1a7cdd0125fc8c06a7ab9bd1ba632eee
Author: Jean Schurger <jean@schurger.org>
Date: Fri, 13 Nov 2026 13:35:43 -0500
fastlane: registration of the org.schurger.openmerou identifier
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K7deYGSNhtY1AmBH7DQGNs
Diffstat:
2 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/fastlane/Appfile b/fastlane/Appfile
@@ -0,0 +1,3 @@
+app_identifier("org.schurger.openmerou")
+apple_id(ENV["PERSO_APPLE_ID"])
+team_id("CM5RQKJH56")
diff --git a/fastlane/Fastfile b/fastlane/Fastfile
@@ -0,0 +1,23 @@
+# Compte développeur perso (équipe CM5RQKJH56), clé App Store Connect lue dans ~/.zshrc_build de chunga.
+APP_ID = "org.schurger.openmerou"
+
+def api_key
+ app_store_connect_api_key(
+ key_id: ENV["PERSO_ASC_KEY_ID"],
+ issuer_id: ENV["PERSO_ASC_ISSUER_ID"],
+ key_filepath: ENV["PERSO_ASC_KEY_PATH"],
+ )
+end
+
+platform :ios do
+ desc "Enregistre l'identifiant de l'app (la fiche App Store se crée à la main)"
+ lane :register do
+ api_key
+ if Spaceship::ConnectAPI::BundleId.find(APP_ID)
+ UI.message("#{APP_ID} déjà enregistré")
+ else
+ Spaceship::ConnectAPI::BundleId.create(name: "Open Merou", identifier: APP_ID, platform: "IOS")
+ UI.success("#{APP_ID} enregistré")
+ end
+ end
+end