fastlane-plugin-notarize 0.3.0 → 1.0.0
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
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: '0481ab37a2d0536c61d5d006725772b98294a749ffc2bc34f3edff98ee1a7636'
|
4
|
+
data.tar.gz: df0d0cc2836a7a32574320e3b6d4179d7346d18c9653e9051eac6f4242c67dfd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8739929c98d56b726be3d2c990f4d99e1290c40ba1aa981058bf5d230de22e626664ab8efdd43ee142c978ef6bbd3ab0f22a60b96aaf95d9604788191fad2da
|
7
|
+
data.tar.gz: 5d96800294a7b2522ac7875fcd5bac87a7457ceaf343bc785202328a771602119c3f41d84bee395dd8a647dfd4e410b733b563fe860a22a7a7d077cada821d74
|
@@ -7,6 +7,8 @@ module Fastlane
|
|
7
7
|
package_path = params[:package]
|
8
8
|
bundle_id = params[:bundle_id]
|
9
9
|
try_early_stapling = params[:try_early_stapling]
|
10
|
+
print_log = params[:print_log]
|
11
|
+
verbose = params[:verbose]
|
10
12
|
|
11
13
|
# Compress and read bundle identifier only for .app bundle.
|
12
14
|
compressed_package_path = nil
|
@@ -41,7 +43,7 @@ module Fastlane
|
|
41
43
|
|
42
44
|
notarization_upload_response = Actions.sh(
|
43
45
|
notarization_upload_command,
|
44
|
-
log:
|
46
|
+
log: verbose
|
45
47
|
)
|
46
48
|
|
47
49
|
FileUtils.rm_rf(compressed_package_path) if compressed_package_path
|
@@ -74,7 +76,7 @@ module Fastlane
|
|
74
76
|
|
75
77
|
notarization_info_response = Actions.sh(
|
76
78
|
"xcrun altool --notarization-info #{notarization_request_id} -u #{apple_id_account.user} -p @env:FL_NOTARIZE_PASSWORD --output-format xml",
|
77
|
-
log:
|
79
|
+
log: verbose
|
78
80
|
)
|
79
81
|
|
80
82
|
notarization_info_plist = Plist.parse_xml(notarization_info_response)
|
@@ -83,7 +85,7 @@ module Fastlane
|
|
83
85
|
|
84
86
|
log_url = notarization_info['LogFileURL']
|
85
87
|
log_suffix = ''
|
86
|
-
if log_url
|
88
|
+
if log_url && print_log
|
87
89
|
log_response = Net::HTTP.get(URI(log_url))
|
88
90
|
log_json_object = JSON.parse(log_response)
|
89
91
|
log_suffix = ", with log:\n#{JSON.pretty_generate(log_json_object)}"
|
@@ -154,7 +156,19 @@ module Fastlane
|
|
154
156
|
env_name: 'FL_NOTARIZE_ASC_PROVIDER',
|
155
157
|
description: 'Provider short name for accounts associated with multiple providers',
|
156
158
|
optional: true,
|
157
|
-
default_value: asc_provider)
|
159
|
+
default_value: asc_provider),
|
160
|
+
FastlaneCore::ConfigItem.new(key: :print_log,
|
161
|
+
env_name: 'FL_NOTARIZE_PRINT_LOG',
|
162
|
+
description: 'Whether to print notarization log file, listing issues on failure and warnings on success',
|
163
|
+
optional: true,
|
164
|
+
default_value: true,
|
165
|
+
type: Boolean)
|
166
|
+
FastlaneCore::ConfigItem.new(key: :verbose,
|
167
|
+
env_name: 'FL_NOTARIZE_VERBOSE',
|
168
|
+
description: 'Whether to log requests',
|
169
|
+
optional: true,
|
170
|
+
default_value: false,
|
171
|
+
type: Boolean)
|
158
172
|
]
|
159
173
|
end
|
160
174
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-notarize
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zeplin, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-07
|
11
|
+
date: 2019-11-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|
@@ -152,8 +152,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
152
152
|
- !ruby/object:Gem::Version
|
153
153
|
version: '0'
|
154
154
|
requirements: []
|
155
|
-
|
156
|
-
rubygems_version: 2.5.2.3
|
155
|
+
rubygems_version: 3.0.6
|
157
156
|
signing_key:
|
158
157
|
specification_version: 4
|
159
158
|
summary: fastlane plugin to notarize a macOS app
|