fastlane-plugin-polidea 0.6.0.pre.1 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane/plugin/polidea/actions/extract_app_info.rb +1 -1
- data/lib/fastlane/plugin/polidea/actions/extract_app_name.rb +1 -1
- data/lib/fastlane/plugin/polidea/actions/mailgun.rb +2 -1
- data/lib/fastlane/plugin/polidea/actions/polidea_store.rb +1 -1
- data/lib/fastlane/plugin/polidea/actions/s3.rb +15 -5
- data/lib/fastlane/plugin/polidea/helper/page_generator.rb +4 -2
- data/lib/fastlane/plugin/polidea/templates/installation_template.erb +1 -1
- data/lib/fastlane/plugin/polidea/templates/secure_installation_template.erb +1 -1
- data/lib/fastlane/plugin/polidea/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f663c58eee16da3a5ec8773857d0aed25e44842
|
4
|
+
data.tar.gz: 2ef9dc0484e46ddde8bbc3df3481739104792778
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 80b6c64f5e2ad4bee8a0c9bb76804a482f8ccdb5ff33fd3628796016f99f60e55e84eac496073e7fdc7907096572349131080a568947257d6bb65cae6d8a7b99
|
7
|
+
data.tar.gz: 08c3ea8f8c02cd5af24e6efae1acc9362f99d25442ce3368df48d30a8d5fd469f21ff27bfbf56cd13eac7c0b42474a5b78d17c4e7c7b9b971a23b7b0139d86c9
|
@@ -65,7 +65,7 @@ module Fastlane
|
|
65
65
|
case platform
|
66
66
|
when :ios
|
67
67
|
info = FastlaneCore::IpaFileAnalyser.fetch_info_plist_file(config[:ipa])
|
68
|
-
return info['CFBundleName'], info['CFBundleIdentifier']
|
68
|
+
return info['CFBundleDisplayName'] || info['CFBundleName'], info['CFBundleIdentifier']
|
69
69
|
when :android
|
70
70
|
apk = Android::Apk.new(config[:apk])
|
71
71
|
return apk.manifest.label, apk.manifest.package_name
|
@@ -13,6 +13,7 @@ module Fastlane
|
|
13
13
|
require 'premailer'
|
14
14
|
inline_images(options)
|
15
15
|
mailgunit(options)
|
16
|
+
UI.success "Mail sent!"
|
16
17
|
end
|
17
18
|
|
18
19
|
def self.description
|
@@ -129,7 +130,7 @@ module Fastlane
|
|
129
130
|
-F from='#{options[:from]} <#{options[:postmaster]}>' \
|
130
131
|
-F to='#{options[:to]}' \
|
131
132
|
-F subject='#{options[:app_name]} #{options[:app_version]} (#{options[:build_number]}) for #{Actions.lane_context[Actions::SharedValues::PLATFORM_NAME]} is ready to install' \
|
132
|
-
--form-string html=#{Shellwords.escape(body)} \ """ + options[:inline].map { |file| "-F inline=@#{file.path}" }.join(" "), print_command: false
|
133
|
+
--form-string html=#{Shellwords.escape(body)} \ """ + options[:inline].map { |file| "-F inline=@#{file.path}" }.join(" "), print_command: false, print_command_output: false
|
133
134
|
|
134
135
|
return body
|
135
136
|
end
|
@@ -142,7 +142,7 @@ module Fastlane
|
|
142
142
|
case platform
|
143
143
|
when :ios
|
144
144
|
info = FastlaneCore::IpaFileAnalyser.fetch_info_plist_file(params[:ipa])
|
145
|
-
app_name = params[:app_name] || info['CFBundleName']
|
145
|
+
app_name = params[:app_name] || info['CFBundleDisplayName'] || info['CFBundleName']
|
146
146
|
app_identifier = params[:bundle_id] || info['CFBundleIdentifier']
|
147
147
|
version = params[:bundle_version] || info['CFBundleShortVersionString']
|
148
148
|
href = itms_href(params[:plist_url])
|
@@ -51,6 +51,7 @@ module Fastlane
|
|
51
51
|
params[:version_file_name] = config[:version_file_name]
|
52
52
|
params[:acl] = config[:acl]
|
53
53
|
params[:installation_password] = config[:installation_password]
|
54
|
+
params[:release_notes] = config[:release_notes]
|
54
55
|
|
55
56
|
case platform
|
56
57
|
when :ios
|
@@ -74,6 +75,7 @@ module Fastlane
|
|
74
75
|
dsym_file = params[:dsym]
|
75
76
|
acl = params[:acl]
|
76
77
|
installation_password = params[:installation_password]
|
78
|
+
release_notes = params[:release_notes]
|
77
79
|
|
78
80
|
validate(params)
|
79
81
|
UI.user_error!("No IPA file path given, pass using `ipa: 'ipa path'`") unless ipa_file.to_s.length > 0
|
@@ -86,7 +88,7 @@ module Fastlane
|
|
86
88
|
build_number = info['CFBundleVersion']
|
87
89
|
bundle_id = info['CFBundleIdentifier']
|
88
90
|
bundle_version = info['CFBundleShortVersionString']
|
89
|
-
app_name = info['CFBundleName']
|
91
|
+
app_name = info['CFBundleDisplayName'] || info['CFBundleName']
|
90
92
|
full_version = "#{bundle_version}.#{build_number}"
|
91
93
|
url_part = get_url_part(app_name, "ios", bundle_version, build_number)
|
92
94
|
|
@@ -115,7 +117,6 @@ module Fastlane
|
|
115
117
|
# Setting action and environment variables
|
116
118
|
Actions.lane_context[SharedValues::S3_DSYM_OUTPUT_PATH] = dsym_url
|
117
119
|
ENV[SharedValues::S3_DSYM_OUTPUT_PATH.to_s] = dsym_url
|
118
|
-
|
119
120
|
end
|
120
121
|
|
121
122
|
if params[:upload_metadata] == false
|
@@ -166,7 +167,8 @@ module Fastlane
|
|
166
167
|
build_number: build_number,
|
167
168
|
app_name: app_name,
|
168
169
|
app_icon: icon_url,
|
169
|
-
platform: "ios"
|
170
|
+
platform: "ios",
|
171
|
+
release_notes: release_notes
|
170
172
|
})
|
171
173
|
|
172
174
|
# Creates version from template
|
@@ -227,6 +229,7 @@ module Fastlane
|
|
227
229
|
icon_file = params[:icon]
|
228
230
|
acl = params[:acl]
|
229
231
|
installation_password = params[:installation_password]
|
232
|
+
release_notes = params[:release_notes]
|
230
233
|
|
231
234
|
validate(params)
|
232
235
|
UI.user_error!("No APK file path given, pass using `apk: 'apk path'`") unless apk_file.to_s.length > 0
|
@@ -275,7 +278,8 @@ module Fastlane
|
|
275
278
|
build_number: build_number,
|
276
279
|
app_name: app_name,
|
277
280
|
app_icon: icon_url,
|
278
|
-
platform: "android"
|
281
|
+
platform: "android",
|
282
|
+
release_notes: release_notes
|
279
283
|
})
|
280
284
|
|
281
285
|
html_url = self.upload_file(bucket, html_file_name, html_render, acl)
|
@@ -509,7 +513,13 @@ module Fastlane
|
|
509
513
|
env_name: "INSTALLATION_PASSWORD",
|
510
514
|
description: "Password for installation page",
|
511
515
|
optional: true,
|
512
|
-
default_value: nil)
|
516
|
+
default_value: nil),
|
517
|
+
FastlaneCore::ConfigItem.new(key: :release_notes,
|
518
|
+
env_name: "S3_RELEASE_NOTES",
|
519
|
+
description: "Release notes",
|
520
|
+
type: Array,
|
521
|
+
optional: true,
|
522
|
+
default_value: Actions.lane_context[SharedValues::RELEASE_NOTES] ? Actions.lane_context[SharedValues::RELEASE_NOTES].split("\n") : nil)
|
513
523
|
]
|
514
524
|
end
|
515
525
|
|
@@ -25,7 +25,8 @@ module Fastlane
|
|
25
25
|
build_number: config[:build_number],
|
26
26
|
app_name: config[:app_name],
|
27
27
|
app_icon: config[:app_icon],
|
28
|
-
platform: config[:platform]
|
28
|
+
platform: config[:platform],
|
29
|
+
release_notes: config[:release_notes]
|
29
30
|
})
|
30
31
|
end
|
31
32
|
private_class_method :generate_private
|
@@ -40,7 +41,8 @@ module Fastlane
|
|
40
41
|
build_number: config[:build_number],
|
41
42
|
app_name: config[:app_name],
|
42
43
|
app_icon: config[:app_icon],
|
43
|
-
platform: config[:platform]
|
44
|
+
platform: config[:platform],
|
45
|
+
release_notes: config[:release_notes]
|
44
46
|
})
|
45
47
|
end
|
46
48
|
private_class_method :generate_public
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-polidea
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.0
|
4
|
+
version: 0.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Piotrek Dubiel
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: plist
|
@@ -317,9 +317,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
317
317
|
version: '0'
|
318
318
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
319
319
|
requirements:
|
320
|
-
- - "
|
320
|
+
- - ">="
|
321
321
|
- !ruby/object:Gem::Version
|
322
|
-
version:
|
322
|
+
version: '0'
|
323
323
|
requirements: []
|
324
324
|
rubyforge_project:
|
325
325
|
rubygems_version: 2.6.8
|