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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8de50e3c9568cad327e1bd82a526d30870f4b1e8
4
- data.tar.gz: 37341d776f431ce8db2159acc0431c63d7ffe861
3
+ metadata.gz: 16a26c982e70fdc949e41cbdb28c50a04ada5e77
4
+ data.tar.gz: 4253b0accbcdb2490daf60faba15c8fb3d303daf
5
5
  SHA512:
6
- metadata.gz: cd2aa332759b58f5b40ca5bf208b247ef5ba799b14e1440d5916970cfb9a3fdebf3436f464801b6e6794c55213f1480d0254936a70d6c2449feb291be4b76908
7
- data.tar.gz: 377239b30b6a131ffba969489b6dae77e0591763f83ecb479e1c3b9efee652b2ffbaa9d98c2436ffce46ac69a294dd22a860aa3f173b6afb1c4f95258491667b
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
- options[:app] = Spaceship::Application.find(search_by)
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)
@@ -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|
@@ -1,4 +1,4 @@
1
1
  module Deliver
2
- VERSION = "1.2.0"
2
+ VERSION = "1.3.0"
3
3
  DESCRIPTION = 'Upload screenshots, metadata and your app to the App Store using a single command'
4
4
  end
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.2.0
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-06 00:00:00.000000000 Z
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.1
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.1
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.10.2
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.10.2
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: