fastlane 2.90.0.beta.20180403050108 → 2.90.0.beta.20180404050031
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/fastlane/lib/fastlane/actions/automatic_code_signing.rb +1 -1
- data/fastlane/lib/fastlane/actions/set_changelog.rb +16 -7
- data/fastlane/lib/fastlane/actions/swiftlint.rb +9 -0
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/gym/lib/gym/runner.rb +1 -1
- data/spaceship/lib/spaceship/tunes/app_version.rb +1 -1
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: afc3633c64e4735c5defd70067167afe04228848
|
4
|
+
data.tar.gz: 60883afd89f2fb0aa026ae085465a452fd12dec3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c555000553891db735063f07b0f84fc965ef1265de6071871dfd8dd66b7af3d076a8c9936062c92576cf87a08e4e8b2d45906b907fa7db20d78da664c891c713
|
7
|
+
data.tar.gz: faa80ac30a29ae1497aa4e09c6e7cacd3a66288da3a69a2c953a8fd8d87a6e4fc68719a329cc4ba9d77e5594f072fa361f76c488f6b1f0bafdc2d47a4e0644ad
|
@@ -130,7 +130,7 @@ module Fastlane
|
|
130
130
|
is_string: false),
|
131
131
|
FastlaneCore::ConfigItem.new(key: :code_sign_identity,
|
132
132
|
env_name: "FL_CODE_SIGN_IDENTITY",
|
133
|
-
description: "Code signing identity type (iPhone
|
133
|
+
description: "Code signing identity type (iPhone Developer, iPhone Distribution)",
|
134
134
|
optional: true,
|
135
135
|
is_string: true),
|
136
136
|
FastlaneCore::ConfigItem.new(key: :profile_name,
|
@@ -13,11 +13,12 @@ module Fastlane
|
|
13
13
|
UI.user_error!("Couldn't find app with identifier #{params[:app_identifier]}") if app.nil?
|
14
14
|
|
15
15
|
version_number = params[:version]
|
16
|
+
platform = params[:platform]
|
16
17
|
unless version_number
|
17
18
|
# Automatically fetch the latest version
|
18
19
|
UI.message("Fetching the latest version for this app")
|
19
|
-
if app.edit_version && app.edit_version.version
|
20
|
-
version_number = app.edit_version.version
|
20
|
+
if app.edit_version(platform: platform) && app.edit_version(platform: platform).version
|
21
|
+
version_number = app.edit_version(platform: platform).version
|
21
22
|
else
|
22
23
|
UI.message("You have to specify a new version number: ")
|
23
24
|
version_number = STDIN.gets.strip
|
@@ -41,7 +42,7 @@ module Fastlane
|
|
41
42
|
|
42
43
|
UI.important("Going to update the changelog to:\n\n#{changelog}\n\n")
|
43
44
|
|
44
|
-
if (v = app.edit_version)
|
45
|
+
if (v = app.edit_version(platform: platform))
|
45
46
|
if v.version != version_number
|
46
47
|
# Version is already there, make sure it matches the one we want to create
|
47
48
|
UI.message("Changing existing version number from '#{v.version}' to '#{version_number}'")
|
@@ -54,7 +55,7 @@ module Fastlane
|
|
54
55
|
UI.message("Creating the new version: #{version_number}")
|
55
56
|
app.create_version!(version_number)
|
56
57
|
app = Spaceship::Application.find(params[:app_identifier]) # Replace with .reload method once available
|
57
|
-
v = app.edit_version
|
58
|
+
v = app.edit_version(platform: platform)
|
58
59
|
end
|
59
60
|
|
60
61
|
v.release_notes.languages.each do |lang|
|
@@ -99,13 +100,13 @@ module Fastlane
|
|
99
100
|
description: "The bundle identifier of your app",
|
100
101
|
code_gen_sensitive: true,
|
101
102
|
default_value: CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier),
|
102
|
-
|
103
|
+
default_value_dynamic: true),
|
103
104
|
FastlaneCore::ConfigItem.new(key: :username,
|
104
105
|
short_option: "-u",
|
105
106
|
env_name: "FASTLANE_USERNAME",
|
106
107
|
description: "Your Apple ID Username",
|
107
108
|
default_value: user,
|
108
|
-
|
109
|
+
default_value_dynamic: true),
|
109
110
|
FastlaneCore::ConfigItem.new(key: :version,
|
110
111
|
env_name: "FL_SET_CHANGELOG_VERSION",
|
111
112
|
description: "The version number to create/update",
|
@@ -136,6 +137,14 @@ module Fastlane
|
|
136
137
|
default_value_dynamic: true,
|
137
138
|
verify_block: proc do |value|
|
138
139
|
ENV["FASTLANE_ITC_TEAM_NAME"] = value.to_s
|
140
|
+
end),
|
141
|
+
FastlaneCore::ConfigItem.new(key: :platform,
|
142
|
+
env_name: "FL_SET_CHANGELOG_PLATFORM",
|
143
|
+
description: "The platform of the app (ios, appletvos, mac)",
|
144
|
+
default_value: "ios",
|
145
|
+
verify_block: proc do |value|
|
146
|
+
available = ['ios', 'appletvos', 'mac']
|
147
|
+
UI.user_error!("Invalid platform '#{value}', must be #{available.join(', ')}") unless available.include?(value)
|
139
148
|
end)
|
140
149
|
]
|
141
150
|
end
|
@@ -145,7 +154,7 @@ module Fastlane
|
|
145
154
|
end
|
146
155
|
|
147
156
|
def self.is_supported?(platform)
|
148
|
-
[:ios, :mac].include?(platform)
|
157
|
+
[:ios, :appletvos, :mac].include?(platform)
|
149
158
|
end
|
150
159
|
|
151
160
|
def self.example_code
|
@@ -13,6 +13,7 @@ module Fastlane
|
|
13
13
|
|
14
14
|
command = (params[:executable] || "swiftlint").dup
|
15
15
|
command << " #{params[:mode]}"
|
16
|
+
command << " --path #{params[:path].shellescape}" if params[:path]
|
16
17
|
command << supported_option_switch(params, :strict, "0.9.2", true)
|
17
18
|
command << " --config #{params[:config_file].shellescape}" if params[:config_file]
|
18
19
|
command << " --reporter #{params[:reporter]}" if params[:reporter]
|
@@ -76,6 +77,13 @@ module Fastlane
|
|
76
77
|
is_string: false,
|
77
78
|
default_value: :lint,
|
78
79
|
optional: true),
|
80
|
+
FastlaneCore::ConfigItem.new(key: :path,
|
81
|
+
description: "Specify path to lint",
|
82
|
+
is_string: true,
|
83
|
+
optional: true,
|
84
|
+
verify_block: proc do |value|
|
85
|
+
UI.user_error!("Couldn't find path '#{File.expand_path(value)}'") unless File.exist?(value)
|
86
|
+
end),
|
79
87
|
FastlaneCore::ConfigItem.new(key: :output_file,
|
80
88
|
description: 'Path to output SwiftLint result',
|
81
89
|
optional: true),
|
@@ -131,6 +139,7 @@ module Fastlane
|
|
131
139
|
[
|
132
140
|
'swiftlint(
|
133
141
|
mode: :lint, # SwiftLint mode: :lint (default) or :autocorrect
|
142
|
+
path: "/path/to/lint" # Specify path to lint (optional)
|
134
143
|
output_file: "swiftlint.result.json", # The path of the output file (optional)
|
135
144
|
config_file: ".swiftlint-ci.yml", # The path of the configuration file (optional)
|
136
145
|
files: [ # List of files to process (optional)
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.90.0.beta.
|
2
|
+
VERSION = '2.90.0.beta.20180404050031'.freeze
|
3
3
|
DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
|
4
4
|
MINIMUM_XCODE_RELEASE = "7.0".freeze
|
5
5
|
RUBOCOP_REQUIREMENT = '0.49.1'.freeze
|
data/gym/lib/gym/runner.rb
CHANGED
@@ -405,7 +405,7 @@ module Spaceship
|
|
405
405
|
|
406
406
|
# @return (String) An URL to this specific resource. You can enter this URL into your browser
|
407
407
|
def url
|
408
|
-
url = "https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/ra/ng/app/#{application.apple_id}/
|
408
|
+
url = "https://itunesconnect.apple.com/WebObjects/iTunesConnect.woa/ra/ng/app/#{application.apple_id}/#{self.platform}/versioninfo/"
|
409
409
|
url += "deliverable" if self.is_live?
|
410
410
|
return url
|
411
411
|
end
|
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.90.0.beta.
|
4
|
+
version: 2.90.0.beta.20180404050031
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manu Wallner
|
@@ -27,7 +27,7 @@ authors:
|
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date: 2018-04-
|
30
|
+
date: 2018-04-04 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: slack-notifier
|
@@ -1622,24 +1622,24 @@ metadata:
|
|
1622
1622
|
post_install_message:
|
1623
1623
|
rdoc_options: []
|
1624
1624
|
require_paths:
|
1625
|
-
- scan/lib
|
1626
1625
|
- sigh/lib
|
1627
|
-
- supply/lib
|
1628
|
-
- deliver/lib
|
1629
1626
|
- gym/lib
|
1630
|
-
-
|
1631
|
-
-
|
1627
|
+
- screengrab/lib
|
1628
|
+
- deliver/lib
|
1629
|
+
- precheck/lib
|
1632
1630
|
- match/lib
|
1633
|
-
-
|
1631
|
+
- pem/lib
|
1634
1632
|
- pilot/lib
|
1635
|
-
-
|
1633
|
+
- scan/lib
|
1636
1634
|
- frameit/lib
|
1637
|
-
-
|
1635
|
+
- supply/lib
|
1636
|
+
- produce/lib
|
1638
1637
|
- spaceship/lib
|
1638
|
+
- credentials_manager/lib
|
1639
1639
|
- cert/lib
|
1640
1640
|
- fastlane_core/lib
|
1641
|
+
- snapshot/lib
|
1641
1642
|
- fastlane/lib
|
1642
|
-
- produce/lib
|
1643
1643
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1644
1644
|
requirements:
|
1645
1645
|
- - ">="
|