ETLane 0.1.44 → 0.1.47

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 907c6a57950ddf96943e050fdea13118fec30a2db4ce1d7b9e9f7013c3f11944
4
- data.tar.gz: 8ea8490468e0a324076e15fb0b356299ffc181cde5ba550f8a088b9c351420b8
3
+ metadata.gz: 1d394d543f1eb8baabedc9349ca59e0f58b8dff7136f0e2c7c188265de2ce962
4
+ data.tar.gz: 0cfc033df259c353d484f88bc9f2dd3075b4367a446439bafbdadf8fa073fd15
5
5
  SHA512:
6
- metadata.gz: 59b302c1944211fbd57adb2356afb14df1370798b6e4c65f8c818be28f4d5888e4a6e69b12d8a41b914cdff7b6ddcbd7340a75b398511cf2d789390244a9ea44
7
- data.tar.gz: 7d96277b6e3d7102786b9916bc7b4213e0c5cd02e5caddbe2b72397ec775f339fdbcb47239072b5e99f0e0b4e4a908bb1768a17ea08bf751ce0ade8e4d58e95e
6
+ metadata.gz: 14b0fc65f80257c1ecb46ee61148a48e9d2bfa82b3600232af0bc647a1451c842354bc893fef2d20bb09a7c067753b4701d1337a176af76bb8adba8a1d0ae014
7
+ data.tar.gz: '098785c57a34d3d0db0957347cad04af29b24942d5925008ad0f0394972c95fc43000904fbcba0180a06b37a96c52765202decd32cc3bf4f994943ad790a8989'
data/Lanes/CommonFastfile CHANGED
@@ -43,6 +43,7 @@ platform :ios do
43
43
  },
44
44
  )
45
45
  last_commit = File.read(last_commit_path)
46
+ last_commit = last_commit.strip! || last_commit if last_commit
46
47
  changelog = changelog_from_git_commits(
47
48
  quiet: true,
48
49
  between: [last_commit, "HEAD"], # Optional, lets you specify a revision/tag range between which to collect commit info
@@ -57,7 +58,6 @@ platform :ios do
57
58
  branch_name = "feature/#{build_number}"
58
59
  sh("git", "checkout", "-B", branch_name)
59
60
  increment_and_push()
60
- ENV["FL_CHANGELOG"] = nil
61
61
 
62
62
  beta_app_review_info = {}
63
63
  if ENV["ET_BETA_APP_REVIEW_INFO"]
@@ -66,10 +66,14 @@ 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,
72
- changelog: "",
76
+ changelog: changelog,
73
77
  groups: ["#{distribute_group_name}"]
74
78
  )
75
79
  tag = get_version_number(target: project_name) + "." + build_number
@@ -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
@@ -21,7 +21,7 @@ module Fastlane
21
21
  if languages.kind_of? Array then
22
22
  request_data["langs"] = languages.to_json
23
23
  end
24
-
24
+ request_data["include_comments"] = true
25
25
  tags = params[:tags]
26
26
  if tags.kind_of? Array then
27
27
  request_data["include_tags"] = tags.to_json
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.44
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-05-29 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: []