deliver 0.7.3 → 0.7.4

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: 78d849164108dd65b5c77fa073754ee65e347a56
4
- data.tar.gz: 115c89bc18e3b45967740c8e3d0fa9676835d681
3
+ metadata.gz: 0217b3b47b8f821e8631dc4921a635a4a1b1e4e1
4
+ data.tar.gz: da09c3a5e524ec94b3a9c756112740fcb55a25bd
5
5
  SHA512:
6
- metadata.gz: 927ca5a578b8f7a3b1b88e9e18f500b6a5ba015e3328993f68de22ae3ab4db5b61d6522002ef31be0262ee041a0c2806a8f7fa6254666c2a9579a360e85e9db3
7
- data.tar.gz: b57239a10535ff16f527ec771e5370f2da26bcc3e7a168625e5d24ca049cfdee789691b768584d53cf189f7fb089ff40c6ad04a585621086127fe4eec6a088c3
6
+ metadata.gz: 12fc7548c00a3eff33bfcc0c83577eb352083635dcbe70e7396eab0d7bc60658a33c26e79f655608ba67c52f6ac90832e83d709c1b5eecda2e4d9fda3318c362
7
+ data.tar.gz: f62ede335bc1ac021ca49fa3587b28b2462e64d87e0c4480db4720daf6644d00a4cd9a8d383f4e5118962eb43846d4ed2701c9ade8a3e63c73a7aed8e6dbc621
data/README.md CHANGED
@@ -10,7 +10,8 @@
10
10
  <a href="https://github.com/KrauseFx/snapshot">snapshot</a> &bull;
11
11
  <a href="https://github.com/KrauseFx/frameit">frameit</a> &bull;
12
12
  <a href="https://github.com/KrauseFx/PEM">PEM</a> &bull;
13
- <a href="https://github.com/KrauseFx/sigh">sigh</a>
13
+ <a href="https://github.com/KrauseFx/sigh">sigh</a> &bull;
14
+ <a href="https://github.com/KrauseFx/produce">produce</a>
14
15
  </p>
15
16
  -------
16
17
 
@@ -190,7 +191,7 @@ beta_ipa do
190
191
  end
191
192
  ```
192
193
 
193
- and provide `--beta` option when calling `deliver`.
194
+ and provide `--beta` option when calling `deliver`. When running `deliver` with the `--beta` flag enabled, it will **not** upload new app metadata.
194
195
 
195
196
  #### Implement blocks to run unit tests
196
197
  If you're using [fastlane](http://github.com/krausefx/fastlane), run tests and error blocks there.
@@ -318,6 +319,7 @@ Before actually uploading anything to iTunes, ```Deliver``` will generate a [PDF
318
319
  - [`frameit`](https://github.com/KrauseFx/frameit): Quickly put your screenshots into the right device frames
319
320
  - [`PEM`](https://github.com/KrauseFx/pem): Automatically generate and renew your push notification profiles
320
321
  - [`sigh`](https://github.com/KrauseFx/sigh): Because you would rather spend your time building stuff than fighting provisioning
322
+ - [`produce`](https://github.com/KrauseFx/produce): Create new iOS apps on iTunes Connect and Dev Portal using the command line
321
323
 
322
324
  ## Available language codes
323
325
  ```ruby
@@ -49,7 +49,8 @@ class FastlaneApplication
49
49
  c.description = "Creates a new Deliverfile in the current directory"
50
50
 
51
51
  c.action do |args, options|
52
- Deliver::DeliverfileCreator.create(enclosed_directory)
52
+ path = (Deliver::Helper.fastlane_enabled?? './fastlane' : '.')
53
+ Deliver::DeliverfileCreator.create(path)
53
54
  end
54
55
  end
55
56
 
@@ -36,15 +36,21 @@ module Deliver
36
36
  create_app
37
37
  verify_app_on_itunesconnect
38
38
 
39
- load_metadata_from_config_json_folder # the json file generated from the quick start
40
- set_app_metadata
41
- set_screenshots
39
+ unless is_beta_build?
40
+ # App Metdata will not be updated for beta builds
42
41
 
43
- verify_pdf_file
42
+ load_metadata_from_config_json_folder # the json file generated from the quick start
43
+ set_app_metadata
44
+ set_screenshots
44
45
 
45
- additional_itc_information # e.g. copyright, age rating
46
+ verify_pdf_file
46
47
 
47
- trigger_metadata_upload
48
+ additional_itc_information # e.g. copyright, age rating
49
+
50
+ trigger_metadata_upload
51
+ end
52
+
53
+ # Always upload a new ipa (except if none was given)
48
54
  trigger_ipa_upload
49
55
 
50
56
  call_success_block
@@ -207,7 +213,7 @@ module Deliver
207
213
  end
208
214
 
209
215
  def verify_pdf_file
210
- if @deploy_information[Deliverer::ValKey::SKIP_PDF] or is_beta_build?
216
+ if @deploy_information[Deliverer::ValKey::SKIP_PDF]
211
217
  Helper.log.debug "PDF verify was skipped"
212
218
  else
213
219
  # Everything is prepared for the upload
@@ -81,6 +81,10 @@ module Deliver
81
81
  FileUtils.mkdir_p metadata_path
82
82
 
83
83
  json = create_json_based_on_xml(app, metadata_path)
84
+
85
+ json.each do |key, value|
86
+ json[key].delete(:version_whats_new)
87
+ end
84
88
 
85
89
  meta_path = "#{metadata_path}metadata.json"
86
90
  File.write(meta_path, JSON.pretty_generate(json))
@@ -1,3 +1,3 @@
1
1
  module Deliver
2
- VERSION = "0.7.3"
2
+ VERSION = "0.7.4"
3
3
  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: 0.7.3
4
+ version: 0.7.4
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-01-29 00:00:00.000000000 Z
11
+ date: 2015-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json