fastlane 2.0.5 → 2.1.0

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
  SHA1:
3
- metadata.gz: e98779f1536361e924e94c8d58f83ecdaa83dd02
4
- data.tar.gz: 5eb569f5d13d1b2b5017053975d597d60605e547
3
+ metadata.gz: 85df77fc6711d1078904a5a3143d3017d3dd6ce8
4
+ data.tar.gz: 969adc10dfe52593a6f7696496d286a6eb3ecd32
5
5
  SHA512:
6
- metadata.gz: 76f80e307c429575cd59cc15d7e20366d8cf2a10d7a41e6232bf41517dd48fadf12aba5efae508e5cdc551bab83324fb08b5e21914898024ec5bdbf2e32fff03
7
- data.tar.gz: 52958bdf0465bbb000ed62b0722931bbd1ca9f9c23ac06748135376cb91037529173b210fb2908c22205cfce07f3fc6e6689059ea38b577ba026127db3ca0289
6
+ metadata.gz: 29e926f710d8fd0750e9a6e831dc2f676d091fe535d8399717c5f2d7f045d4eb54adccd011d49a059f917d5c6a53393564425a95ef334a389f2b7f9e5d1c7a24
7
+ data.tar.gz: 7999f15f882913340f3b614ea73ac3cb085e0646bca42556d140b5cc64d10d74d48c03c5ea4b81042372aa73295837360a260ee6024fbd1aa3283c3c6dcd1303
data/deliver/README.md CHANGED
@@ -253,6 +253,12 @@ echo "$TOOLS_PATH/$REL_PATH"
253
253
 
254
254
  Add necessary proxy configuration values to the net.properties according to [Java Proxy Configuration](http://docs.oracle.com/javase/8/docs/technotes/guides/net/proxies.html).
255
255
 
256
+ As an alternative to editing the properties files, proxy configuration can be specified on the command line directly:
257
+
258
+ ```bash
259
+ DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS="-t DAV -Dhttp.proxyHost=myproxy.com -Dhttp.proxyPort=8080"
260
+ ```
261
+
256
262
  ## Limit
257
263
  Apple has a limit of 150 binary uploads per day.
258
264
 
@@ -27,7 +27,7 @@ module Deliver
27
27
  def find_app(options)
28
28
  search_by = options[:app_identifier]
29
29
  search_by = options[:app] if search_by.to_s.length == 0
30
- app = Spaceship::Application.find(search_by)
30
+ app = Spaceship::Application.find(search_by, mac: options[:platform] == "osx")
31
31
  if app
32
32
  options[:app] = app
33
33
  else
@@ -13,6 +13,7 @@ module Fastlane
13
13
  dangerfile = params[:dangerfile]
14
14
  cmd << "--danger_id=#{danger_id}" if danger_id
15
15
  cmd << "--dangerfile=#{dangerfile}" if dangerfile
16
+ cmd << "--fail-on-errors=true" if params[:fail_on_errors]
16
17
 
17
18
  ENV['DANGER_GITHUB_API_TOKEN'] = params[:github_api_token] if params[:github_api_token]
18
19
 
@@ -57,7 +58,13 @@ module Fastlane
57
58
  description: "GitHub API token for danger",
58
59
  sensitive: true,
59
60
  is_string: true,
60
- optional: true)
61
+ optional: true),
62
+ FastlaneCore::ConfigItem.new(key: :fail_on_errors,
63
+ env_name: "FL_DANGER_FAIL_ON_ERRORS",
64
+ description: "Should always fail the build process, defaults to false",
65
+ is_string: false,
66
+ optional: true,
67
+ default_value: false)
61
68
  ]
62
69
  end
63
70
 
@@ -17,7 +17,7 @@ module Fastlane
17
17
  return params[:value]
18
18
  rescue => ex
19
19
  UI.error(ex)
20
- UI.error("Unable to set value to plist file at '#{path}'")
20
+ UI.user_error!("Unable to set value to plist file at '#{path}'")
21
21
  end
22
22
  end
23
23
 
@@ -23,42 +23,40 @@ module Fastlane
23
23
 
24
24
  tool_name = process_emojis(tool_name)
25
25
 
26
- if tool_name
27
- if Fastlane::TOOLS.include?(tool_name.to_sym) && !available_lanes.include?(tool_name.to_sym)
28
- # Triggering a specific tool
29
- # This happens when the users uses things like
30
- #
31
- # fastlane sigh
32
- # fastlane snapshot
33
- #
34
- require tool_name
35
- begin
36
- # First, remove the tool's name from the arguments
37
- # Since it will be parsed by the `commander` at a later point
38
- # and it must not contain the binary name
39
- ARGV.shift
26
+ if tool_name && Fastlane::TOOLS.include?(tool_name.to_sym) && !available_lanes.include?(tool_name.to_sym)
27
+ # Triggering a specific tool
28
+ # This happens when the users uses things like
29
+ #
30
+ # fastlane sigh
31
+ # fastlane snapshot
32
+ #
33
+ require tool_name
34
+ begin
35
+ # First, remove the tool's name from the arguments
36
+ # Since it will be parsed by the `commander` at a later point
37
+ # and it must not contain the binary name
38
+ ARGV.shift
40
39
 
41
- # Import the CommandsGenerator class, which is used to parse
42
- # the user input
43
- require File.join(tool_name, "commands_generator")
40
+ # Import the CommandsGenerator class, which is used to parse
41
+ # the user input
42
+ require File.join(tool_name, "commands_generator")
44
43
 
45
- # Call the tool's CommandsGenerator class and let it do its thing
46
- Object.const_get(tool_name.fastlane_module)::CommandsGenerator.start
47
- rescue LoadError
48
- # This will only happen if the tool we call here, doesn't provide
49
- # a CommandsGenerator class yet
50
- # When we launch this feature, this should never be the case
51
- abort("#{tool_name} can't be called via `fastlane #{tool_name}`, run '#{tool_name}' directly instead".red)
52
- end
53
- elsif tool_name == "fastlane-credentials"
54
- require 'credentials_manager'
55
- ARGV.shift
56
- CredentialsManager::CLI.new.run
57
- else
58
- # Triggering fastlane to call a lane
59
- require "fastlane/commands_generator"
60
- Fastlane::CommandsGenerator.start
44
+ # Call the tool's CommandsGenerator class and let it do its thing
45
+ Object.const_get(tool_name.fastlane_module)::CommandsGenerator.start
46
+ rescue LoadError
47
+ # This will only happen if the tool we call here, doesn't provide
48
+ # a CommandsGenerator class yet
49
+ # When we launch this feature, this should never be the case
50
+ abort("#{tool_name} can't be called via `fastlane #{tool_name}`, run '#{tool_name}' directly instead".red)
61
51
  end
52
+ elsif tool_name == "fastlane-credentials"
53
+ require 'credentials_manager'
54
+ ARGV.shift
55
+ CredentialsManager::CLI.new.run
56
+ else
57
+ # Triggering fastlane to call a lane
58
+ require "fastlane/commands_generator"
59
+ Fastlane::CommandsGenerator.start
62
60
  end
63
61
  end
64
62
 
@@ -18,7 +18,7 @@ module Fastlane
18
18
  UI.important("")
19
19
  UI.command_output("gem \"#{gem_name}\"")
20
20
  UI.important("")
21
- UI.user_error!("Add 'gem \"#{gem_name}\"' to your Gemfile and restart fastlane")
21
+ UI.user_error!("Add 'gem \"#{gem_name}\"' to your Gemfile and restart fastlane") unless Helper.test?
22
22
  end
23
23
 
24
24
  require "rubygems/command_manager"
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.0.5'.freeze
2
+ VERSION = '2.1.0'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
data/gym/README.md CHANGED
@@ -126,10 +126,6 @@ If you run into any issues, use the `verbose` mode to get more information
126
126
 
127
127
  fastlane gym --verbose
128
128
 
129
- In general, if you run into issues while exporting the archive, try using:
130
-
131
- fastlane gym --use_legacy_build_api
132
-
133
129
  Set the right export method if you're not uploading to App Store or TestFlight:
134
130
 
135
131
  fastlane gym --export_method ad-hoc
@@ -21,6 +21,11 @@ module Gym
21
21
 
22
22
  config[:use_legacy_build_api] = true if Xcode.pre_7?
23
23
 
24
+ if config[:use_legacy_build_api]
25
+ UI.deprecated("the use_legacy_build_api option is deprecated")
26
+ UI.deprecated("it should not be used anymore - e.g.: if you use app-extensions")
27
+ end
28
+
24
29
  detect_scheme
25
30
  detect_platform # we can only do that *after* we have the scheme
26
31
  detect_configuration
@@ -82,24 +82,6 @@ module Gym
82
82
  when /Codesign check fails/
83
83
  print "A general code signing error occurred. Make sure you passed a valid"
84
84
  print "provisioning profile and code signing identity."
85
- when /expected one of \{\}/
86
- print "It seems like you ran into this radar"
87
- print "https://openradar.appspot.com/radar?id=4952000420642816"
88
- print "You can temporarily use the :use_legacy_build_api option to work around the issue:"
89
- print "In your Fastfile:"
90
- print " gym(use_legacy_build_api: true)"
91
- print "On the command line:"
92
- print " gym --use_legacy_build_api"
93
- when /Error Domain=IDEDistributionErrorDomain Code=/, /IDEDistributionErrorDomain error 1/
94
- standard_output = read_standard_output output
95
- print standard_output if standard_output
96
- print "There was an error exporting your application"
97
- print "Unfortunately the new Xcode export API is unstable and causes problems on some projects"
98
- print "You can temporarily use the :use_legacy_build_api option to work around the issue:"
99
- print "In your Fastfile:"
100
- print " gym(use_legacy_build_api: true)"
101
- print "On the command line:"
102
- print " gym --use_legacy_build_api"
103
85
  end
104
86
  print_full_log_path
105
87
  UI.user_error!("Error packaging up the application")
@@ -95,13 +95,14 @@ module Gym
95
95
  is_string: false,
96
96
  optional: true),
97
97
  FastlaneCore::ConfigItem.new(key: :use_legacy_build_api,
98
+ deprecated: "Don't use this option any more, as it's deprecated by Apple",
98
99
  env_name: "GYM_USE_LEGACY_BUILD_API",
99
- description: "Don't use the new API because of https://openradar.appspot.com/radar?id=4952000420642816",
100
+ description: "Don't use this option any more, as it's deprecated by Apple",
100
101
  default_value: false,
101
102
  is_string: false,
102
103
  verify_block: proc do |value|
103
104
  if value
104
- UI.important "Using legacy build system - waiting for radar to be fixed: https://openradar.appspot.com/radar?id=4952000420642816"
105
+ UI.important "Don't use this option any more, as it's deprecated by Apple"
105
106
  end
106
107
  end),
107
108
  FastlaneCore::ConfigItem.new(key: :export_method,
@@ -43,9 +43,9 @@ module Gym
43
43
  if Gym.config[:toolchain].nil?
44
44
  UI.important("If you're using Swift 2.3, but already updated to Xcode 8")
45
45
  UI.important("try adding the following parameter to your gym call:")
46
- UI.success("gym(use_legacy_build_api: true, toolchain: :swift_2_3)")
46
+ UI.success("gym(toolchain: :swift_2_3)")
47
47
  UI.message("or")
48
- UI.success("gym --use_legacy_build_api --toolchain swift_2_3")
48
+ UI.success("gym --toolchain swift_2_3")
49
49
  end
50
50
 
51
51
  UI.user_error!(ex)
@@ -61,7 +61,7 @@ module Pilot
61
61
  FastlaneCore::ConfigItem.new(key: :skip_waiting_for_build_processing,
62
62
  short_option: "-z",
63
63
  env_name: "PILOT_SKIP_WAITING_FOR_BUILD_PROCESSING",
64
- description: "Don't wait for the build to process. If set to true, the changelog won't be set",
64
+ description: "Don't wait for the build to process. If set to true, the changelog won't be set, `distribute_external` option won't work",
65
65
  is_string: false,
66
66
  default_value: false),
67
67
  FastlaneCore::ConfigItem.new(key: :update_build_info_on_upload,
@@ -5,6 +5,7 @@ module Snapshot
5
5
  config = Snapshot.config
6
6
 
7
7
  # First, try loading the Snapfile from the current directory
8
+ configuration_file_path = File.expand_path(Snapshot.snapfile_name)
8
9
  config.load_configuration_file(Snapshot.snapfile_name)
9
10
 
10
11
  # Detect the project
@@ -13,7 +14,9 @@ module Snapshot
13
14
 
14
15
  # Go into the project's folder, as there might be a Snapfile there
15
16
  Dir.chdir(File.expand_path("..", Snapshot.project.path)) do
16
- config.load_configuration_file(Snapshot.snapfile_name)
17
+ unless File.expand_path(Snapshot.snapfile_name) == configuration_file_path
18
+ config.load_configuration_file(Snapshot.snapfile_name)
19
+ end
17
20
  end
18
21
 
19
22
  Snapshot.project.select_scheme(preferred_to_include: "UITests")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.5
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2016-12-16 00:00:00.000000000 Z
17
+ date: 2016-12-18 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: slack-notifier
@@ -747,15 +747,12 @@ files:
747
747
  - deliver/lib/deliver/upload_price_tier.rb
748
748
  - deliver/lib/deliver/upload_screenshots.rb
749
749
  - fastlane/README.md
750
- - fastlane/lib/.DS_Store
751
- - fastlane/lib/assets/.DS_Store
752
750
  - fastlane/lib/assets/Actions.md.erb
753
751
  - fastlane/lib/assets/AppfileTemplate
754
752
  - fastlane/lib/assets/AppfileTemplateAndroid
755
753
  - fastlane/lib/assets/AvailablePlugins.md.erb
756
754
  - fastlane/lib/assets/DefaultFastfileTemplate
757
755
  - fastlane/lib/assets/FastfileTemplateAndroid
758
- - fastlane/lib/assets/completions/.DS_Store
759
756
  - fastlane/lib/assets/completions/completion.bash
760
757
  - fastlane/lib/assets/completions/completion.sh
761
758
  - fastlane/lib/assets/completions/completion.zsh
@@ -766,10 +763,8 @@ files:
766
763
  - fastlane/lib/assets/s3_plist_template.erb
767
764
  - fastlane/lib/assets/s3_version_template.erb
768
765
  - fastlane/lib/fastlane.rb
769
- - fastlane/lib/fastlane/.DS_Store
770
766
  - fastlane/lib/fastlane/action.rb
771
767
  - fastlane/lib/fastlane/action_collector.rb
772
- - fastlane/lib/fastlane/actions/.DS_Store
773
768
  - fastlane/lib/fastlane/actions/README.md
774
769
  - fastlane/lib/fastlane/actions/actions_helper.rb
775
770
  - fastlane/lib/fastlane/actions/adb.rb
@@ -810,7 +805,6 @@ files:
810
805
  - fastlane/lib/fastlane/actions/delete_keychain.rb
811
806
  - fastlane/lib/fastlane/actions/deliver.rb
812
807
  - fastlane/lib/fastlane/actions/deploygate.rb
813
- - fastlane/lib/fastlane/actions/device_grid/.DS_Store
814
808
  - fastlane/lib/fastlane/actions/device_grid/README.md
815
809
  - fastlane/lib/fastlane/actions/dotgpg_environment.rb
816
810
  - fastlane/lib/fastlane/actions/download.rb
@@ -1020,10 +1014,8 @@ files:
1020
1014
  - fastlane/lib/fastlane/tools.rb
1021
1015
  - fastlane/lib/fastlane/version.rb
1022
1016
  - fastlane_core/README.md
1023
- - fastlane_core/lib/.DS_Store
1024
1017
  - fastlane_core/lib/assets/XMLTemplate.xml.erb
1025
1018
  - fastlane_core/lib/fastlane_core.rb
1026
- - fastlane_core/lib/fastlane_core/.DS_Store
1027
1019
  - fastlane_core/lib/fastlane_core/cert_checker.rb
1028
1020
  - fastlane_core/lib/fastlane_core/command_executor.rb
1029
1021
  - fastlane_core/lib/fastlane_core/configuration/commander_generator.rb
@@ -1178,7 +1170,6 @@ files:
1178
1170
  - sigh/lib/sigh/resign.rb
1179
1171
  - sigh/lib/sigh/runner.rb
1180
1172
  - snapshot/README.md
1181
- - snapshot/lib/.DS_Store
1182
1173
  - snapshot/lib/assets/SnapfileTemplate
1183
1174
  - snapshot/lib/assets/SnapshotHelper.swift
1184
1175
  - snapshot/lib/assets/SnapshotHelper2-3.swift
@@ -1203,11 +1194,9 @@ files:
1203
1194
  - snapshot/lib/snapshot/test_command_generator.rb
1204
1195
  - snapshot/lib/snapshot/update.rb
1205
1196
  - spaceship/README.md
1206
- - spaceship/lib/.DS_Store
1207
1197
  - spaceship/lib/assets/languageMapping.json
1208
1198
  - spaceship/lib/assets/languageMappingReadable.json
1209
1199
  - spaceship/lib/spaceship.rb
1210
- - spaceship/lib/spaceship/.DS_Store
1211
1200
  - spaceship/lib/spaceship/babosa_fix.rb
1212
1201
  - spaceship/lib/spaceship/base.rb
1213
1202
  - spaceship/lib/spaceship/client.rb
@@ -1309,7 +1298,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
1309
1298
  version: '0'
1310
1299
  requirements: []
1311
1300
  rubyforge_project:
1312
- rubygems_version: 2.6.6
1301
+ rubygems_version: 2.6.8
1313
1302
  signing_key:
1314
1303
  specification_version: 4
1315
1304
  summary: The easiest way to automate beta deployments and releases for your iOS and
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file