Skip to content

Commit aaef658

Browse files
author
Noah Oleana
committed
eded
1 parent 1d3146a commit aaef658

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

Diff for: fastlane/Fastfile

+27-27
Original file line numberDiff line numberDiff line change
@@ -140,36 +140,36 @@ before_all do
140140
authentication_key_issuer_id = fetch_env_var_or_dotenv('APPLE_CONNECT_ISSUER_ID', env)
141141
authentication_key_content = fetch_env_var_or_dotenv('APPLE_CONNECT_CERTIFICATE_BASE64', env)
142142

143-
# setup_ci if ENV['CI']
144-
145-
# app_store_connect_api_key(
146-
# key_id: authentication_key_id,
147-
# issuer_id: authentication_key_issuer_id,
148-
# key_content: authentication_key_content,
149-
# is_key_content_base64: true,
150-
# duration: 1200
151-
# )
143+
setup_ci if ENV['CI']
152144

153-
# sync_code_signing(
154-
# type: 'appstore',
155-
# app_identifier: ['tt.kolektivo.mainnet'],
156-
# readonly: true,
157-
# )
145+
app_store_connect_api_key(
146+
key_id: authentication_key_id,
147+
issuer_id: authentication_key_issuer_id,
148+
key_content: authentication_key_content,
149+
is_key_content_base64: true,
150+
duration: 1200
151+
)
158152

159-
# keychain_password = SecureRandom.base64
160-
# create_keychain(
161-
# name: "fastlane",
162-
# unlock: true,
163-
# timeout: 3600,
164-
# lock_when_sleeps: true,
165-
# password: keychain_password
166-
# )
153+
sync_code_signing(
154+
type: 'appstore',
155+
app_identifier: ['tt.kolektivo.mainnet'],
156+
readonly: true,
157+
)
167158

168-
# import_certificate(
169-
# certificate_path: authentication_key_path,
170-
# keychain_name: "fastlane",
171-
# keychain_password: keychain_password
172-
# )
159+
keychain_password = SecureRandom.base64
160+
create_keychain(
161+
name: "fastlane",
162+
unlock: true,
163+
timeout: 3600,
164+
lock_when_sleeps: true,
165+
password: keychain_password
166+
)
167+
168+
import_certificate(
169+
certificate_path: authentication_key_path,
170+
keychain_name: "fastlane",
171+
keychain_password: keychain_password
172+
)
173173

174174
match(
175175
type: 'appstore',

0 commit comments

Comments
 (0)