ETLane 0.1.46 → 0.1.49
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Lanes/CommonFastfile +10 -27
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b778c6a0831a5d4efeababc0163ee1464e82bbe060201302dc7eb414ca71400d
|
4
|
+
data.tar.gz: 47b78f711136b5c1137159ce8d22c65b6fc2cc6e175f3ecb9bd3660d951314cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 36f2b7163f13231cda79832f1d2141fd14d63bb894769605ba60e17bbf261aeecc8631238e99cd21d1089298dcaba699e0e5a1e418a96a3259597cd16225a65c
|
7
|
+
data.tar.gz: 3438e9a82c91d72343bd1a1965b016dd3a92a280277074587b0c60ef21fcab64f9f6b67a65d49d968057fc9fcf9e7efe2bcc76ca87235abacca96c525dcd06c8
|
data/Lanes/CommonFastfile
CHANGED
@@ -13,6 +13,7 @@ platform :ios do
|
|
13
13
|
|
14
14
|
desc "Push a new beta build to TestFlight"
|
15
15
|
lane :beta do |options|
|
16
|
+
work_branch = options[:branch]|| ENV["ET_BRANCH"] || 'master'
|
16
17
|
setup_new_session(options)
|
17
18
|
provisioning_profile = "AppStore_#{product_bundle_identifier}"
|
18
19
|
username = options[:username]
|
@@ -53,7 +54,7 @@ platform :ios do
|
|
53
54
|
merge_commit_filtering: "exclude_merges" # Optional, lets you filter out merge commits
|
54
55
|
)
|
55
56
|
puts changelog
|
56
|
-
build_number =
|
57
|
+
build_number = latest_testflight_build_number
|
57
58
|
version = get_version_number(target: project_name) + " (" + build_number + ")"
|
58
59
|
branch_name = "feature/#{build_number}"
|
59
60
|
sh("git", "checkout", "-B", branch_name)
|
@@ -66,6 +67,10 @@ platform :ios do
|
|
66
67
|
|
67
68
|
exception = nil
|
68
69
|
begin
|
70
|
+
app_store_connect_api_key(
|
71
|
+
duration: 1200, # optional (maximum 1200)
|
72
|
+
in_house: false # optional but may be required if using match/sigh
|
73
|
+
)
|
69
74
|
upload_to_testflight(
|
70
75
|
username: username,
|
71
76
|
beta_app_review_info: beta_app_review_info,
|
@@ -89,7 +94,6 @@ platform :ios do
|
|
89
94
|
commit_bump(message: "Freeze changelog")
|
90
95
|
end
|
91
96
|
end
|
92
|
-
work_branch = ENV["ET_BRANCH"] || 'master'
|
93
97
|
sh("git", "checkout", work_branch)
|
94
98
|
sh("git", "pull", "origin", work_branch)
|
95
99
|
sh("git", "merge", branch_name)
|
@@ -288,31 +292,10 @@ platform :ios do
|
|
288
292
|
end
|
289
293
|
|
290
294
|
lane :setup_new_session do |options|
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
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.
|
4
|
+
version: 0.1.49
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- teanet
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-04-04 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.
|
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: []
|