ETLane 0.1.46 → 0.1.47

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/Lanes/CommonFastfile +8 -25
  3. metadata +8 -8
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5146fbf20c0df981bb51ee0f37f91bece981ed31ca24389d218633006e08faec
4
- data.tar.gz: dac0822eb320f54a86083f64854e3c966ec452fbabb44ba29bede0af00069196
3
+ metadata.gz: 1d394d543f1eb8baabedc9349ca59e0f58b8dff7136f0e2c7c188265de2ce962
4
+ data.tar.gz: 0cfc033df259c353d484f88bc9f2dd3075b4367a446439bafbdadf8fa073fd15
5
5
  SHA512:
6
- metadata.gz: '086753d189a8cac283d86923f8106bc97b71c4c9acd64c3fe09670aae36499d5faad527c7cb857ac539c5355b77b5533acd18a04604e25b107ab538c547c33f7'
7
- data.tar.gz: a45ac892f8da6b842b5e7520274ed3fab49ee3fc93f73c24566b390824f62951b7f13a7c683cf273a0a6e9691dc2d6308aba39afc95ebb177ccc20cc64dcf757
6
+ metadata.gz: 14b0fc65f80257c1ecb46ee61148a48e9d2bfa82b3600232af0bc647a1451c842354bc893fef2d20bb09a7c067753b4701d1337a176af76bb8adba8a1d0ae014
7
+ data.tar.gz: '098785c57a34d3d0db0957347cad04af29b24942d5925008ad0f0394972c95fc43000904fbcba0180a06b37a96c52765202decd32cc3bf4f994943ad790a8989'
data/Lanes/CommonFastfile CHANGED
@@ -66,6 +66,10 @@ platform :ios do
66
66
 
67
67
  exception = nil
68
68
  begin
69
+ app_store_connect_api_key(
70
+ duration: 1200, # optional (maximum 1200)
71
+ in_house: false # optional but may be required if using match/sigh
72
+ )
69
73
  upload_to_testflight(
70
74
  username: username,
71
75
  beta_app_review_info: beta_app_review_info,
@@ -288,31 +292,10 @@ platform :ios do
288
292
  end
289
293
 
290
294
  lane :setup_new_session do |options|
291
- if ENV["ET_USE_SESSION"]
292
- session = retrieve_fastlane_session(options)
293
- ENV["FASTLANE_SESSION"] = session
294
- end
295
- end
296
-
297
- lane :retrieve_fastlane_session do |options|
298
- # runs shell
299
- username = options[:username]
300
- spaceauth_output = `bundle exec fastlane spaceauth -u #{username}`
301
- # regex the output for the value we need
302
- fastlane_session_regex = %r{Pass the following via the FASTLANE_SESSION environment variable:\n(?<session>.+)\n\n\nExample:\n.+}
303
- new_session = nil
304
- if match = spaceauth_output.match(fastlane_session_regex)
305
- # Strip out the fancy formatting
306
- new_session = match[:session].gsub("\e[4m\e[36m", "").gsub("\e[0m\e[0m", "")
307
- end
308
-
309
- # Yell and quit if unable to parse out session from spaceauth output
310
- if new_session.nil?
311
- puts "Unable to obtain new session via fastlane spaceauth"
312
- exit 1
313
- else
314
- new_session
315
- end
295
+ app_store_connect_api_key(
296
+ duration: 1200, # optional (maximum 1200)
297
+ in_house: false # optional but may be required if using match/sigh
298
+ )
316
299
  end
317
300
 
318
301
  end
metadata CHANGED
@@ -1,19 +1,19 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ETLane
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.46
4
+ version: 0.1.47
5
5
  platform: ruby
6
6
  authors:
7
7
  - teanet
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-01 00:00:00.000000000 Z
11
+ date: 2022-03-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'Xcode helper for upload builds and metadata
14
14
 
15
- '
16
- email:
15
+ '
16
+ email:
17
17
  executables: []
18
18
  extensions: []
19
19
  extra_rdoc_files: []
@@ -50,7 +50,7 @@ homepage: https://github.com/teanet/ETLane
50
50
  licenses:
51
51
  - MIT
52
52
  metadata: {}
53
- post_install_message:
53
+ post_install_message:
54
54
  rdoc_options: []
55
55
  require_paths:
56
56
  - lib
@@ -65,8 +65,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
65
65
  - !ruby/object:Gem::Version
66
66
  version: '0'
67
67
  requirements: []
68
- rubygems_version: 3.0.3
69
- signing_key:
68
+ rubygems_version: 3.0.1
69
+ signing_key:
70
70
  specification_version: 4
71
71
  summary: A short description of ETLane.
72
72
  test_files: []