fastlane 2.90.0 → 2.91.0.beta.20180413050017
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fastlane/lib/assets/ActionDetails.md.erb +5 -5
- data/fastlane/lib/fastlane/actions/adb.rb +1 -1
- data/fastlane/lib/fastlane/actions/adb_devices.rb +1 -1
- data/fastlane/lib/fastlane/actions/check_app_store_metadata.rb +2 -2
- data/fastlane/lib/fastlane/actions/git_add.rb +1 -1
- data/fastlane/lib/fastlane/actions/increment_version_number.rb +1 -1
- data/fastlane/lib/fastlane/actions/read_podspec.rb +1 -1
- data/fastlane/lib/fastlane/actions/s3.rb +1 -1
- data/fastlane/lib/fastlane/actions/swiftlint.rb +1 -1
- data/fastlane/lib/fastlane/documentation/actions_list.rb +4 -1
- data/fastlane/lib/fastlane/helper/adb_helper.rb +4 -0
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/pilot/lib/pilot/build_manager.rb +16 -2
- metadata +31 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8464f0a6a41a920d0224b7e49b937b84c8c834b5
|
4
|
+
data.tar.gz: 90a354d8e7733f73fde1e422b9689de80111106c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: eb01a60540a11e154ce63a86b07d9be056b7aceca3a1cddda3c4d7297f17670bc54141a0d22f7a498ad4784d6b30f50c86c99b97fd274cf97bbf641ec50fbed1
|
7
|
+
data.tar.gz: 35ff8ea9785353087c1345eb37055bd0039fcd263dba6604a601e150480d561a21ac97d4ef530c18439acdff08b3704425b734792f4c0badb6abb6f2c032bec1
|
@@ -8,21 +8,21 @@ To modify it, go to its source at https://github.com/fastlane/fastlane/blob/mast
|
|
8
8
|
<% action = @action %>
|
9
9
|
<%= action.description %>
|
10
10
|
|
11
|
-
<%= "> #{action.deprecated_notes.gsub("\n
|
11
|
+
<%= "> #{action.deprecated_notes.gsub("\n", "<br>")}" unless action.deprecated_notes.to_s.empty? %>
|
12
12
|
|
13
13
|
<% if @custom_content %>
|
14
14
|
<%= @custom_content %>
|
15
15
|
<hr />
|
16
16
|
<% else %>
|
17
|
-
<%= "> #{action.details.gsub("\n
|
17
|
+
<%= "> #{action.details.gsub("\n", "<br>")}" unless action.details.to_s.empty? %>
|
18
18
|
<% end %>
|
19
19
|
|
20
|
-
<%= action.action_name %>
|
21
|
-
|
20
|
+
<%= action.action_name %> ||
|
21
|
+
---|---
|
22
22
|
Supported platforms | <%= [:ios, :android, :mac].find_all { |a| action.is_supported?(a) }.join(", ") %>
|
23
23
|
Author | @<%= Array(action.author || action.authors).join(", @") %>
|
24
24
|
<%- unless action.return_value.to_s.empty? -%>
|
25
|
-
Returns | <%= action.return_value %>
|
25
|
+
Returns | <%= action.return_value.gsub("\n", "<br>") %>
|
26
26
|
<%- end -%>
|
27
27
|
|
28
28
|
<% if (action.example_code || []).count > 0 %>
|
@@ -39,7 +39,7 @@ module Fastlane
|
|
39
39
|
FastlaneCore::ConfigItem.new(key: :adb_path,
|
40
40
|
env_name: "FL_ADB_PATH",
|
41
41
|
optional: true,
|
42
|
-
description: "The path to your `adb` binary",
|
42
|
+
description: "The path to your `adb` binary (can be left blank if the ANDROID_SDK_ROOT environment variable is set)",
|
43
43
|
is_string: true,
|
44
44
|
default_value: "adb")
|
45
45
|
]
|
@@ -28,7 +28,7 @@ module Fastlane
|
|
28
28
|
[
|
29
29
|
FastlaneCore::ConfigItem.new(key: :adb_path,
|
30
30
|
env_name: "FL_ADB_PATH",
|
31
|
-
description: "The path to your `adb` binary",
|
31
|
+
description: "The path to your `adb` binary (can be left blank if the ANDROID_SDK_ROOT environment variable is set)",
|
32
32
|
is_string: true,
|
33
33
|
optional: true,
|
34
34
|
default_value: "adb")
|
@@ -38,8 +38,8 @@ module Fastlane
|
|
38
38
|
def self.example_code
|
39
39
|
[
|
40
40
|
'check_app_store_metadata(
|
41
|
-
negative_apple_sentiment
|
42
|
-
curse_words
|
41
|
+
negative_apple_sentiment: [level: :skip], # Set to skip to not run the `negative_apple_sentiment` rule
|
42
|
+
curse_words: [level: :warn] # Set to warn to only warn on curse word check failures
|
43
43
|
)',
|
44
44
|
'precheck # alias for "check_app_store_metadata"'
|
45
45
|
]
|
@@ -77,7 +77,7 @@ module Fastlane
|
|
77
77
|
'git_add',
|
78
78
|
'git_add(path: "./version.txt")',
|
79
79
|
'git_add(path: ["./version.txt", "./changelog.txt"])',
|
80
|
-
'git_add(path: "./Frameworks/*", shell_escape: false',
|
80
|
+
'git_add(path: "./Frameworks/*", shell_escape: false)',
|
81
81
|
'git_add(path: ["*.h", "*.m"], shell_escape: false)',
|
82
82
|
'git_add(path: "./Frameworks/*", shell_escape: false)',
|
83
83
|
'git_add(path: "*.txt", shell_escape: false)'
|
@@ -80,7 +80,7 @@ module Fastlane
|
|
80
80
|
|
81
81
|
def self.details
|
82
82
|
[
|
83
|
-
"This action will increment the version number.
|
83
|
+
"This action will increment the version number.",
|
84
84
|
"You first have to set up your Xcode project, if you haven't done it already:",
|
85
85
|
"https://developer.apple.com/library/ios/qa/qa1827/_index.html"
|
86
86
|
].join("\n")
|
@@ -32,7 +32,7 @@ module Fastlane
|
|
32
32
|
"This can be used for only specifying a version string in your podspec",
|
33
33
|
"- and during your release process you'd read it from the podspec by running",
|
34
34
|
"`version = read_podspec['version']` at the beginning of your lane",
|
35
|
-
"Loads the specified (or the first found) podspec in the folder as JSON, so that you can inspect its `version`, `files` etc.
|
35
|
+
"Loads the specified (or the first found) podspec in the folder as JSON, so that you can inspect its `version`, `files` etc.",
|
36
36
|
"This can be useful when basing your release process on the version string only stored in one place - in the podspec. As one of ",
|
37
37
|
"the first steps you'd read the podspec and its version and the rest of the workflow can use that version string (when e.g. creating a new git tag or a GitHub Release)."
|
38
38
|
].join("\n")
|
@@ -313,7 +313,7 @@ module Fastlane
|
|
313
313
|
|
314
314
|
def self.details
|
315
315
|
[
|
316
|
-
"Upload a new build to Amazon S3 to distribute the build to beta testers.
|
316
|
+
"Upload a new build to Amazon S3 to distribute the build to beta testers.",
|
317
317
|
"Works for both Ad Hoc and Enterprise signed applications. This step will generate the necessary HTML, plist, and version files for you.",
|
318
318
|
"It is recommended to **not** store the AWS access keys in the `Fastfile`. The uploaded `version.json` file provides an easy way for apps to poll if a new update is available."
|
319
319
|
].join(" ")
|
@@ -139,7 +139,7 @@ module Fastlane
|
|
139
139
|
[
|
140
140
|
'swiftlint(
|
141
141
|
mode: :lint, # SwiftLint mode: :lint (default) or :autocorrect
|
142
|
-
path: "/path/to/lint" # Specify path to lint (optional)
|
142
|
+
path: "/path/to/lint", # Specify path to lint (optional)
|
143
143
|
output_file: "swiftlint.result.json", # The path of the output file (optional)
|
144
144
|
config_file: ".swiftlint-ci.yml", # The path of the configuration file (optional)
|
145
145
|
files: [ # List of files to process (optional)
|
@@ -16,6 +16,10 @@ module Fastlane
|
|
16
16
|
attr_accessor :devices
|
17
17
|
|
18
18
|
def initialize(adb_path: nil)
|
19
|
+
android_home = ENV['ANDROID_HOME'] || ENV['ANDROID_SDK_ROOT'] || ENV['ANDROID_SDK']
|
20
|
+
if (adb_path.nil? || adb_path == "adb") && android_home
|
21
|
+
adb_path = Pathname.new(android_home).join("platform-tools/adb").to_s
|
22
|
+
end
|
19
23
|
self.adb_path = adb_path
|
20
24
|
end
|
21
25
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.
|
2
|
+
VERSION = '2.91.0.beta.20180413050017'.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
|
@@ -1,5 +1,6 @@
|
|
1
1
|
require 'tmpdir'
|
2
2
|
require 'terminal-table'
|
3
|
+
require 'emoji_regex'
|
3
4
|
|
4
5
|
require 'fastlane_core/itunes_transporter'
|
5
6
|
require 'fastlane_core/build_watcher'
|
@@ -11,7 +12,7 @@ module Pilot
|
|
11
12
|
def upload(options)
|
12
13
|
start(options)
|
13
14
|
|
14
|
-
options[:changelog] = self.class.
|
15
|
+
options[:changelog] = self.class.sanitize_changelog(options[:changelog]) if options[:changelog]
|
15
16
|
|
16
17
|
UI.user_error!("No ipa file given") unless config[:ipa]
|
17
18
|
|
@@ -127,7 +128,20 @@ module Pilot
|
|
127
128
|
changelog = "#{changelog[0...max_changelog_length - bottom_message.length]}#{bottom_message}"
|
128
129
|
UI.important("Changelog has been truncated since it exceeds Apple's #{max_changelog_length} character limit. It currently contains #{original_length} characters.")
|
129
130
|
end
|
130
|
-
|
131
|
+
changelog
|
132
|
+
end
|
133
|
+
|
134
|
+
def self.strip_emoji(changelog)
|
135
|
+
if changelog && changelog =~ EmojiRegex::Regex
|
136
|
+
changelog.gsub!(EmojiRegex::Regex, "")
|
137
|
+
UI.important("Emoji symbols have been removed from the changelog, since they're not allowed by Apple.")
|
138
|
+
end
|
139
|
+
changelog
|
140
|
+
end
|
141
|
+
|
142
|
+
def self.sanitize_changelog(changelog)
|
143
|
+
changelog = strip_emoji(changelog)
|
144
|
+
truncate_changelog(changelog)
|
131
145
|
end
|
132
146
|
|
133
147
|
private
|
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.
|
4
|
+
version: 2.91.0.beta.20180413050017
|
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-13 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: slack-notifier
|
@@ -625,6 +625,20 @@ dependencies:
|
|
625
625
|
- - "<"
|
626
626
|
- !ruby/object:Gem::Version
|
627
627
|
version: 0.14.0
|
628
|
+
- !ruby/object:Gem::Dependency
|
629
|
+
name: emoji_regex
|
630
|
+
requirement: !ruby/object:Gem::Requirement
|
631
|
+
requirements:
|
632
|
+
- - "~>"
|
633
|
+
- !ruby/object:Gem::Version
|
634
|
+
version: '0.1'
|
635
|
+
type: :runtime
|
636
|
+
prerelease: false
|
637
|
+
version_requirements: !ruby/object:Gem::Requirement
|
638
|
+
requirements:
|
639
|
+
- - "~>"
|
640
|
+
- !ruby/object:Gem::Version
|
641
|
+
version: '0.1'
|
628
642
|
- !ruby/object:Gem::Dependency
|
629
643
|
name: rake
|
630
644
|
requirement: !ruby/object:Gem::Requirement
|
@@ -1622,24 +1636,24 @@ metadata:
|
|
1622
1636
|
post_install_message:
|
1623
1637
|
rdoc_options: []
|
1624
1638
|
require_paths:
|
1639
|
+
- produce/lib
|
1640
|
+
- scan/lib
|
1625
1641
|
- credentials_manager/lib
|
1626
|
-
-
|
1627
|
-
-
|
1642
|
+
- spaceship/lib
|
1643
|
+
- sigh/lib
|
1644
|
+
- fastlane/lib
|
1645
|
+
- supply/lib
|
1628
1646
|
- frameit/lib
|
1629
|
-
- match/lib
|
1630
1647
|
- fastlane_core/lib
|
1631
|
-
- deliver/lib
|
1632
|
-
- scan/lib
|
1633
|
-
- supply/lib
|
1634
|
-
- cert/lib
|
1635
|
-
- fastlane/lib
|
1636
|
-
- spaceship/lib
|
1637
1648
|
- pilot/lib
|
1649
|
+
- match/lib
|
1638
1650
|
- gym/lib
|
1639
|
-
-
|
1651
|
+
- pem/lib
|
1652
|
+
- cert/lib
|
1653
|
+
- snapshot/lib
|
1640
1654
|
- screengrab/lib
|
1641
|
-
-
|
1642
|
-
-
|
1655
|
+
- precheck/lib
|
1656
|
+
- deliver/lib
|
1643
1657
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1644
1658
|
requirements:
|
1645
1659
|
- - ">="
|
@@ -1647,12 +1661,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
1647
1661
|
version: 2.0.0
|
1648
1662
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
1649
1663
|
requirements:
|
1650
|
-
- - "
|
1664
|
+
- - ">"
|
1651
1665
|
- !ruby/object:Gem::Version
|
1652
|
-
version:
|
1666
|
+
version: 1.3.1
|
1653
1667
|
requirements: []
|
1654
1668
|
rubyforge_project:
|
1655
|
-
rubygems_version: 2.
|
1669
|
+
rubygems_version: 2.5.2.1
|
1656
1670
|
signing_key:
|
1657
1671
|
specification_version: 4
|
1658
1672
|
summary: The easiest way to automate beta deployments and releases for your iOS and
|