@@ -140,36 +140,36 @@ before_all do
140
140
authentication_key_issuer_id = fetch_env_var_or_dotenv ( 'APPLE_CONNECT_ISSUER_ID' , env )
141
141
authentication_key_content = fetch_env_var_or_dotenv ( 'APPLE_CONNECT_CERTIFICATE_BASE64' , env )
142
142
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' ]
152
144
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
+ )
158
152
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
+ )
167
158
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
+ )
173
173
174
174
match (
175
175
type : 'appstore' ,
0 commit comments