deliver 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/deliver/detect_values.rb +6 -1
- data/lib/deliver/options.rb +4 -0
- data/lib/deliver/upload_screenshots.rb +4 -0
- data/lib/deliver/version.rb +1 -1
- metadata +34 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 16a26c982e70fdc949e41cbdb28c50a04ada5e77
|
4
|
+
data.tar.gz: 4253b0accbcdb2490daf60faba15c8fb3d303daf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1958cb3eed9905b36b05e0a26df7cf78f27c17b03991f3ef808e1acef8c00ac655e46dce47af36fc67ab706d4275999c01dd078aa6204c86f61250b3d478368c
|
7
|
+
data.tar.gz: c76ec542d9a52184c6f8365cf0a65d4a9903aa296748e721650334afde25816bdd588662ae155c5744510c0114547ba087fcedbd43629c5553b2d6f40c743409
|
@@ -21,7 +21,12 @@ module Deliver
|
|
21
21
|
def find_app(options)
|
22
22
|
search_by = options[:app_identifier]
|
23
23
|
search_by = options[:app] if search_by.to_s.length == 0
|
24
|
-
|
24
|
+
app = Spaceship::Application.find(search_by)
|
25
|
+
if app
|
26
|
+
options[:app] = app
|
27
|
+
else
|
28
|
+
raise "Could not find app with app identifier '#{options[:app_identifier]}' in your account".red
|
29
|
+
end
|
25
30
|
end
|
26
31
|
|
27
32
|
def find_folders(options)
|
data/lib/deliver/options.rb
CHANGED
@@ -39,6 +39,10 @@ module Deliver
|
|
39
39
|
short_option: '-w',
|
40
40
|
description: "Path to the folder containing the screenshots",
|
41
41
|
optional: true),
|
42
|
+
FastlaneCore::ConfigItem.new(key: :skip_screenshots,
|
43
|
+
description: "Don't upload the screenhsots",
|
44
|
+
is_string: false,
|
45
|
+
default_value: false),
|
42
46
|
FastlaneCore::ConfigItem.new(key: :app_version,
|
43
47
|
short_option: '-z',
|
44
48
|
description: "The version that should be edited or created",
|
@@ -2,6 +2,8 @@ module Deliver
|
|
2
2
|
# upload screenshots to iTunes Connect
|
3
3
|
class UploadScreenshots
|
4
4
|
def upload(options, screenshots)
|
5
|
+
return if options[:skip_screenshots]
|
6
|
+
|
5
7
|
app = options[:app]
|
6
8
|
|
7
9
|
v = app.edit_version
|
@@ -45,6 +47,8 @@ module Deliver
|
|
45
47
|
end
|
46
48
|
|
47
49
|
def collect_screenshots(options)
|
50
|
+
return [] if options[:skip_screenshots]
|
51
|
+
|
48
52
|
screenshots = []
|
49
53
|
extensions = '{png,jpg,jpeg}'
|
50
54
|
Dir.glob(File.join(options[:screenshots_path], "*"), File::FNM_CASEFOLD).sort.each do |lng_folder|
|
data/lib/deliver/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: deliver
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-10-
|
11
|
+
date: 2015-10-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane_core
|
@@ -36,21 +36,21 @@ dependencies:
|
|
36
36
|
requirements:
|
37
37
|
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: 0.8.
|
39
|
+
version: 0.8.2
|
40
40
|
type: :runtime
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.8.
|
46
|
+
version: 0.8.2
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: spaceship
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
51
|
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: 0.
|
53
|
+
version: 0.11.2
|
54
54
|
- - "<="
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 1.0.0
|
@@ -60,24 +60,10 @@ dependencies:
|
|
60
60
|
requirements:
|
61
61
|
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 0.
|
63
|
+
version: 0.11.2
|
64
64
|
- - "<="
|
65
65
|
- !ruby/object:Gem::Version
|
66
66
|
version: 1.0.0
|
67
|
-
- !ruby/object:Gem::Dependency
|
68
|
-
name: nokogiri
|
69
|
-
requirement: !ruby/object:Gem::Requirement
|
70
|
-
requirements:
|
71
|
-
- - "~>"
|
72
|
-
- !ruby/object:Gem::Version
|
73
|
-
version: 1.6.5
|
74
|
-
type: :runtime
|
75
|
-
prerelease: false
|
76
|
-
version_requirements: !ruby/object:Gem::Requirement
|
77
|
-
requirements:
|
78
|
-
- - "~>"
|
79
|
-
- !ruby/object:Gem::Version
|
80
|
-
version: 1.6.5
|
81
67
|
- !ruby/object:Gem::Dependency
|
82
68
|
name: fastimage
|
83
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -204,6 +190,34 @@ dependencies:
|
|
204
190
|
- - ">="
|
205
191
|
- !ruby/object:Gem::Version
|
206
192
|
version: '0'
|
193
|
+
- !ruby/object:Gem::Dependency
|
194
|
+
name: fastlane
|
195
|
+
requirement: !ruby/object:Gem::Requirement
|
196
|
+
requirements:
|
197
|
+
- - ">="
|
198
|
+
- !ruby/object:Gem::Version
|
199
|
+
version: '0'
|
200
|
+
type: :development
|
201
|
+
prerelease: false
|
202
|
+
version_requirements: !ruby/object:Gem::Requirement
|
203
|
+
requirements:
|
204
|
+
- - ">="
|
205
|
+
- !ruby/object:Gem::Version
|
206
|
+
version: '0'
|
207
|
+
- !ruby/object:Gem::Dependency
|
208
|
+
name: rubocop
|
209
|
+
requirement: !ruby/object:Gem::Requirement
|
210
|
+
requirements:
|
211
|
+
- - "~>"
|
212
|
+
- !ruby/object:Gem::Version
|
213
|
+
version: '0.34'
|
214
|
+
type: :development
|
215
|
+
prerelease: false
|
216
|
+
version_requirements: !ruby/object:Gem::Requirement
|
217
|
+
requirements:
|
218
|
+
- - "~>"
|
219
|
+
- !ruby/object:Gem::Version
|
220
|
+
version: '0.34'
|
207
221
|
description: Upload screenshots, metadata and your app to the App Store using a single
|
208
222
|
command
|
209
223
|
email:
|