fastlane 0.12.1 → 0.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/fastlane/actions/crashlytics.rb +1 -1
- data/lib/fastlane/actions/deploygate.rb +2 -2
- data/lib/fastlane/actions/hipchat.rb +1 -1
- data/lib/fastlane/actions/hockey.rb +2 -2
- data/lib/fastlane/actions/increment_version_number.rb +12 -16
- data/lib/fastlane/actions/produce.rb +2 -2
- data/lib/fastlane/actions/resign.rb +1 -1
- data/lib/fastlane/configuration_helper.rb +2 -3
- data/lib/fastlane/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b850ae33922e5798c0ffefe1343c9d257b281edf
|
4
|
+
data.tar.gz: 1fbc3ce09e65ee76eb312631821f7d1add197105
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 96382205e45da17352e8ee4ca8a6e5f0df94b8a44cf28f88adc47ea587eb2c5db644ea142f9812ccab72b7777d4f44e2aeca394e22690fdefa9c2c92784fd72b
|
7
|
+
data.tar.gz: 4bacf3144825d3adce74025a064ade398909199a36d60358a5dc551b0ae3304ea3e8894a11b6681bab3d20cb8515e0b37d4fe4576abd6f77d6736b707efb630b
|
@@ -72,7 +72,7 @@ module Fastlane
|
|
72
72
|
description: "Path to your IPA file. Optional if you use the `ipa` or `xcodebuild` action",
|
73
73
|
default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
|
74
74
|
verify_block: Proc.new do |value|
|
75
|
-
raise "
|
75
|
+
raise "Couldn't find ipa file at path '#{value}'".red unless File.exists?(value)
|
76
76
|
end),
|
77
77
|
FastlaneCore::ConfigItem.new(key: :notes_path,
|
78
78
|
env_name: "CRASHLYTICS_NOTES_PATH",
|
@@ -31,7 +31,7 @@ module Fastlane
|
|
31
31
|
|
32
32
|
return options[:ipa] if Helper.test?
|
33
33
|
|
34
|
-
response = client.upload_build(options[:ipa], options)
|
34
|
+
response = client.upload_build(options[:ipa], options.values)
|
35
35
|
if parse_response(response)
|
36
36
|
Helper.log.info "DeployGate URL: #{Actions.lane_context[SharedValues::DEPLOYGATE_URL]}"
|
37
37
|
Helper.log.info "Build successfully uploaded to DeployGate as revision \##{Actions.lane_context[SharedValues::DEPLOYGATE_REVISION]}!".green
|
@@ -99,7 +99,7 @@ module Fastlane
|
|
99
99
|
description: "Path to your IPA file. Optional if you use the `ipa` or `xcodebuild` action",
|
100
100
|
default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
|
101
101
|
verify_block: Proc.new do |value|
|
102
|
-
raise "
|
102
|
+
raise "Couldn't find ipa file at path '#{value}'".red unless File.exists?(value)
|
103
103
|
end),
|
104
104
|
FastlaneCore::ConfigItem.new(key: :message,
|
105
105
|
env_name: "DEPLOYGATE_MESSAGE",
|
@@ -107,7 +107,7 @@ module Fastlane
|
|
107
107
|
env_name: "HIPCHAT_API_VERSION",
|
108
108
|
description: "Version of the Hipchat API. Must be 1 or 2",
|
109
109
|
verify_block: Proc.new do |value|
|
110
|
-
if
|
110
|
+
if value.nil? || ![1, 2].include?(value.to_i)
|
111
111
|
Helper.log.fatal "Please add 'ENV[\"HIPCHAT_API_VERSION\"] = \"1 or 2\"' to your Fastfile's `before_all` section.".red
|
112
112
|
raise 'No HIPCHAT_API_VERSION given.'.red
|
113
113
|
end
|
@@ -36,7 +36,7 @@ module Fastlane
|
|
36
36
|
|
37
37
|
return if Helper.test?
|
38
38
|
|
39
|
-
response = client.upload_build(options[:ipa], options)
|
39
|
+
response = client.upload_build(options[:ipa], options.values)
|
40
40
|
case response.status
|
41
41
|
when 200...300
|
42
42
|
url = response.body['public_url']
|
@@ -69,7 +69,7 @@ module Fastlane
|
|
69
69
|
description: "Path to your IPA file. Optional if you use the `ipa` or `xcodebuild` action",
|
70
70
|
default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
|
71
71
|
verify_block: Proc.new do |value|
|
72
|
-
raise "
|
72
|
+
raise "Couldn't find ipa file at path '#{value}'".red unless File.exists?(value)
|
73
73
|
end),
|
74
74
|
FastlaneCore::ConfigItem.new(key: :dsym,
|
75
75
|
env_name: "FL_HOCKEY_DSYM",
|
@@ -24,23 +24,21 @@ module Fastlane
|
|
24
24
|
'&&'
|
25
25
|
].join(' ')
|
26
26
|
|
27
|
-
|
28
|
-
version_array = [1,0,0]
|
29
|
-
else
|
30
|
-
current_version = `#{command_prefix} agvtool what-marketing-version -terse1`.split("\n").last
|
31
|
-
raise 'Your current version (#{current_version}) does not respect the format A.B.C' unless current_version.match(/\d.\d.\d/)
|
32
|
-
# Check if CFBundleShortVersionString is the same for each occurrence
|
33
|
-
allBundles = `#{command_prefix} agvtool what-marketing-version -terse`.split("\n")
|
34
|
-
allBundles.each do |bundle|
|
35
|
-
raise 'Ensure all you CFBundleShortVersionString are equals in your project ' unless bundle.end_with? "=#{current_version}"
|
36
|
-
end
|
37
|
-
version_array = current_version.split(".").map(&:to_i)
|
38
|
-
end
|
27
|
+
current_version = `#{command_prefix} agvtool what-marketing-version -terse1`.split("\n").last
|
39
28
|
|
40
29
|
if params[:version_number]
|
30
|
+
Helper.log.debug "Your current version (#{current_version}) does not respect the format A.B.C" unless current_version.match(/\d.\d.\d/)
|
31
|
+
|
41
32
|
# Specific version
|
42
33
|
next_version_number = params[:version_number]
|
43
34
|
else
|
35
|
+
if Helper.test?
|
36
|
+
version_array = [1,0,0]
|
37
|
+
else
|
38
|
+
raise "Your current version (#{current_version}) does not respect the format A.B.C" unless current_version.match(/\d.\d.\d/)
|
39
|
+
version_array = current_version.split(".").map(&:to_i)
|
40
|
+
end
|
41
|
+
|
44
42
|
case params[:bump_type]
|
45
43
|
when "patch"
|
46
44
|
version_array[2] = version_array[2] + 1
|
@@ -101,10 +99,8 @@ module Fastlane
|
|
101
99
|
FastlaneCore::ConfigItem.new(key: :version_number,
|
102
100
|
env_name: "FL_VERSION_NUMBER_VERSION_NUMBER",
|
103
101
|
description: "Change to a specific version. This will replace the bump type value",
|
104
|
-
optional: true,
|
105
|
-
|
106
|
-
raise "Invalid version '#{value}' given. Must be x.y.z".red unless value.split(".").count == 3
|
107
|
-
end),
|
102
|
+
optional: true,
|
103
|
+
),
|
108
104
|
FastlaneCore::ConfigItem.new(key: :xcodeproj,
|
109
105
|
env_name: "FL_VERSION_NUMBER_PROJECT",
|
110
106
|
description: "optional, you must specify the path to your main Xcode project if it is not in the project root directory",
|
@@ -56,8 +56,8 @@ module Fastlane
|
|
56
56
|
['produce_team_name', 'optional: the name of your team', 'PRODUCE_TEAM_NAME'],
|
57
57
|
['produce_team_id', 'optional: the ID of your team', 'PRODUCE_TEAM_ID'],
|
58
58
|
['produce_username', 'optional: your Apple ID', 'PRODUCE_USERNAME'],
|
59
|
-
['
|
60
|
-
['
|
59
|
+
['produce_skip_itc', 'Skip the creation on iTunes Connect', 'PRODUCE_SKIP_ITC'],
|
60
|
+
['produce_skip_devcenter', 'Skip the creation on the Apple Developer Portal', 'PRODUCE_SKIP_DEVCENTER']
|
61
61
|
]
|
62
62
|
end
|
63
63
|
|
@@ -25,7 +25,7 @@ module Fastlane
|
|
25
25
|
description: "Path to the ipa file to resign. Optional if you use the `ipa` or `xcodebuild` action",
|
26
26
|
default_value: Actions.lane_context[SharedValues::IPA_OUTPUT_PATH],
|
27
27
|
verify_block: Proc.new do |value|
|
28
|
-
raise "
|
28
|
+
raise "Couldn't find ipa file at path '#{value}'".red unless File.exists?(value)
|
29
29
|
end),
|
30
30
|
FastlaneCore::ConfigItem.new(key: :signing_identity,
|
31
31
|
env_name: "FL_RESIGN_SIGNING_IDENTITY",
|
@@ -9,7 +9,6 @@ module Fastlane
|
|
9
9
|
return FastlaneCore::Configuration.create(action.available_options, params)
|
10
10
|
|
11
11
|
elsif first_element
|
12
|
-
Helper.log.error "Action '#{action}' uses the old configuration format."
|
13
12
|
puts "Old configuration format for action '#{action}'".red if Helper.is_test?
|
14
13
|
return params
|
15
14
|
else
|
@@ -19,8 +18,8 @@ module Fastlane
|
|
19
18
|
|
20
19
|
end
|
21
20
|
rescue => ex
|
22
|
-
Helper.log.fatal "You
|
23
|
-
Helper.log.fatal "Check out the available options
|
21
|
+
Helper.log.fatal "You invalid parameters to '#{action.action_name}'.".red
|
22
|
+
Helper.log.fatal "Check out the error below and available options by running `fastlane action #{action.action_name}`".red
|
24
23
|
raise ex
|
25
24
|
end
|
26
25
|
end
|
data/lib/fastlane/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.12.
|
4
|
+
version: 0.12.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -142,14 +142,14 @@ dependencies:
|
|
142
142
|
requirements:
|
143
143
|
- - '>='
|
144
144
|
- !ruby/object:Gem::Version
|
145
|
-
version: 0.6.
|
145
|
+
version: 0.6.1
|
146
146
|
type: :runtime
|
147
147
|
prerelease: false
|
148
148
|
version_requirements: !ruby/object:Gem::Requirement
|
149
149
|
requirements:
|
150
150
|
- - '>='
|
151
151
|
- !ruby/object:Gem::Version
|
152
|
-
version: 0.6.
|
152
|
+
version: 0.6.1
|
153
153
|
- !ruby/object:Gem::Dependency
|
154
154
|
name: deliver
|
155
155
|
requirement: !ruby/object:Gem::Requirement
|
@@ -212,14 +212,14 @@ dependencies:
|
|
212
212
|
requirements:
|
213
213
|
- - '>='
|
214
214
|
- !ruby/object:Gem::Version
|
215
|
-
version: 0.4.
|
215
|
+
version: 0.4.10
|
216
216
|
type: :runtime
|
217
217
|
prerelease: false
|
218
218
|
version_requirements: !ruby/object:Gem::Requirement
|
219
219
|
requirements:
|
220
220
|
- - '>='
|
221
221
|
- !ruby/object:Gem::Version
|
222
|
-
version: 0.4.
|
222
|
+
version: 0.4.10
|
223
223
|
- !ruby/object:Gem::Dependency
|
224
224
|
name: produce
|
225
225
|
requirement: !ruby/object:Gem::Requirement
|