fastlane 2.115.0.beta.20190118200015 → 2.115.0.beta.20190119200019
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 405a7ac48ad02e28a6b26a3dda7458028411060b
|
4
|
+
data.tar.gz: c1df6b742f5a232012d94e42d2e04c935a3ec201
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e072c405cda86946bac1343f0a8d9de9ac72ee822385443633ed550022f6fdfd331d78d9d50c632fb7afdc30d8d5d348d837e8df632ca5645b79ce1769e87ced
|
7
|
+
data.tar.gz: 8a939edd7c093b7c4a291ac5651fcaafa77910279fdf13bb65a1c6d629458bd5f98b42701bb2ffc34698f7d201a3990043ace5cf8c25865e95b9264f4d54adaf
|
@@ -35,8 +35,15 @@ module Fastlane
|
|
35
35
|
|
36
36
|
UI.user_error!("Could not find latest version for your app, please try setting a specific version") if latest_version.version.nil?
|
37
37
|
|
38
|
-
|
39
|
-
|
38
|
+
latest_candidate_build = latest_version.candidate_builds.max_by(&:upload_date)
|
39
|
+
if latest_candidate_build.nil?
|
40
|
+
version = latest_version.version
|
41
|
+
build_number = latest_version.build_version
|
42
|
+
else
|
43
|
+
# The build_version of a candidate build does not always match the one in latest_version so get the version and build number from the same place.
|
44
|
+
version = latest_candidate_build.train_version
|
45
|
+
build_number = latest_candidate_build.build_version
|
46
|
+
end
|
40
47
|
end
|
41
48
|
|
42
49
|
# Make sure output_directory has a slash on the end
|
@@ -112,16 +119,6 @@ module Fastlane
|
|
112
119
|
Actions.lane_context[SharedValues::DSYM_PATHS] << File.expand_path(path)
|
113
120
|
end
|
114
121
|
|
115
|
-
def self.get_version(latest_version)
|
116
|
-
candidate_build = latest_version.candidate_builds.first
|
117
|
-
if candidate_build.nil?
|
118
|
-
latest_version.version
|
119
|
-
else
|
120
|
-
candidate_build.train_version
|
121
|
-
end
|
122
|
-
end
|
123
|
-
private_class_method :get_version
|
124
|
-
|
125
122
|
def self.write_dsym(data, bundle_id, train_number, build_number, output_directory)
|
126
123
|
file_name = "#{bundle_id}-#{train_number}-#{build_number}.dSYM.zip"
|
127
124
|
if output_directory
|
@@ -8,7 +8,9 @@ module Fastlane
|
|
8
8
|
paths = params[:path].map(&:shellescape).join(' ')
|
9
9
|
end
|
10
10
|
|
11
|
-
|
11
|
+
skip_git_hooks = params[:skip_git_hooks] ? '--no-verify' : ''
|
12
|
+
|
13
|
+
result = Actions.sh("git commit -m #{params[:message].shellescape} #{paths} #{skip_git_hooks}".strip)
|
12
14
|
UI.success("Successfully committed \"#{params[:path]}\" 💾.")
|
13
15
|
return result
|
14
16
|
end
|
@@ -27,7 +29,11 @@ module Fastlane
|
|
27
29
|
description: "The file you want to commit",
|
28
30
|
is_string: false),
|
29
31
|
FastlaneCore::ConfigItem.new(key: :message,
|
30
|
-
description: "The commit message that should be used")
|
32
|
+
description: "The commit message that should be used"),
|
33
|
+
FastlaneCore::ConfigItem.new(key: :skip_git_hooks,
|
34
|
+
description: "Set to true to pass --no-verify to git",
|
35
|
+
type: Boolean,
|
36
|
+
optional: true)
|
31
37
|
]
|
32
38
|
end
|
33
39
|
|
@@ -50,7 +56,8 @@ module Fastlane
|
|
50
56
|
[
|
51
57
|
'git_commit(path: "./version.txt", message: "Version Bump")',
|
52
58
|
'git_commit(path: ["./version.txt", "./changelog.txt"], message: "Version Bump")',
|
53
|
-
'git_commit(path: ["./*.txt", "./*.md"], message: "Update documentation")'
|
59
|
+
'git_commit(path: ["./*.txt", "./*.md"], message: "Update documentation")',
|
60
|
+
'git_commit(path: ["./*.txt", "./*.md"], message: "Update documentation", skip_git_hooks: true)'
|
54
61
|
]
|
55
62
|
end
|
56
63
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.115.0.beta.
|
2
|
+
VERSION = '2.115.0.beta.20190119200019'.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/sigh/lib/assets/resign.sh
CHANGED
@@ -63,6 +63,9 @@
|
|
63
63
|
# new features November 2018
|
64
64
|
# 1. only create the archived-expanded-entitlements.xcent file if the version of Xcode < 9.3 as Xcode 10 does not create it.
|
65
65
|
#
|
66
|
+
# new features January 2019
|
67
|
+
# 1. fixed bug where the com.apple.icloud-container-environment entitlement was being assigned an incorrect value
|
68
|
+
#
|
66
69
|
|
67
70
|
# Logging functions
|
68
71
|
|
@@ -743,7 +746,19 @@ function resign {
|
|
743
746
|
# This value is set by Xcode during export (manually selected for Development and AdHoc, automatically set to Production for Store)
|
744
747
|
# Would need an additional dedicated option to specify the iCloud environment to be used (Development or Production)
|
745
748
|
# For now, we assume Production is to be used when signing with a Distribution certificate, Development if not
|
746
|
-
|
749
|
+
local certificate_name=$CERTIFICATE
|
750
|
+
local sha1_pattern='[0-9A-F]{40}'
|
751
|
+
|
752
|
+
if [[ "$CERTIFICATE" =~ $sha1_pattern ]]; then
|
753
|
+
log "Certificate $CERTIFICATE matches a SHA1 pattern"
|
754
|
+
local certificate_matches="$( security find-identity -v -p codesigning | grep -m 1 "$CERTIFICATE" )"
|
755
|
+
if [ -n "$certificate_matches" ]; then
|
756
|
+
certificate_name="$( sed -E s/[^\"]+\"\([^\"]+\)\".*/\\1/ <<< $certificate_matches )"
|
757
|
+
log "Certificate name: $certificate_name"
|
758
|
+
fi
|
759
|
+
fi
|
760
|
+
|
761
|
+
if [[ "$certificate_name" =~ "Distribution:" ]]; then
|
747
762
|
ICLOUD_ENV="Production"
|
748
763
|
else
|
749
764
|
ICLOUD_ENV="Development"
|
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.115.0.beta.
|
4
|
+
version: 2.115.0.beta.20190119200019
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danielle Tomlinson
|
@@ -27,7 +27,7 @@ authors:
|
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date: 2019-01-
|
30
|
+
date: 2019-01-19 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: slack-notifier
|
@@ -1688,24 +1688,24 @@ metadata:
|
|
1688
1688
|
post_install_message:
|
1689
1689
|
rdoc_options: []
|
1690
1690
|
require_paths:
|
1691
|
+
- cert/lib
|
1692
|
+
- spaceship/lib
|
1693
|
+
- scan/lib
|
1694
|
+
- fastlane/lib
|
1691
1695
|
- snapshot/lib
|
1696
|
+
- pem/lib
|
1697
|
+
- gym/lib
|
1692
1698
|
- credentials_manager/lib
|
1693
1699
|
- screengrab/lib
|
1694
|
-
- pem/lib
|
1695
|
-
- fastlane/lib
|
1696
1700
|
- pilot/lib
|
1697
|
-
-
|
1698
|
-
- scan/lib
|
1699
|
-
- cert/lib
|
1700
|
-
- precheck/lib
|
1701
|
-
- supply/lib
|
1701
|
+
- match/lib
|
1702
1702
|
- sigh/lib
|
1703
|
-
- deliver/lib
|
1704
|
-
- gym/lib
|
1705
|
-
- spaceship/lib
|
1706
1703
|
- fastlane_core/lib
|
1704
|
+
- supply/lib
|
1705
|
+
- deliver/lib
|
1706
|
+
- precheck/lib
|
1707
|
+
- frameit/lib
|
1707
1708
|
- produce/lib
|
1708
|
-
- match/lib
|
1709
1709
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1710
1710
|
requirements:
|
1711
1711
|
- - ">="
|