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 +4 -4
- data/README.md +4 -2
- data/bin/deliver +2 -1
- data/lib/deliver/deliver_process.rb +13 -7
- data/lib/deliver/deliverfile/deliverfile_creator.rb +4 -0
- data/lib/deliver/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0217b3b47b8f821e8631dc4921a635a4a1b1e4e1
|
4
|
+
data.tar.gz: da09c3a5e524ec94b3a9c756112740fcb55a25bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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> •
|
11
11
|
<a href="https://github.com/KrauseFx/frameit">frameit</a> •
|
12
12
|
<a href="https://github.com/KrauseFx/PEM">PEM</a> •
|
13
|
-
<a href="https://github.com/KrauseFx/sigh">sigh</a>
|
13
|
+
<a href="https://github.com/KrauseFx/sigh">sigh</a> •
|
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
|
data/bin/deliver
CHANGED
@@ -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::
|
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
|
-
|
40
|
-
|
41
|
-
set_screenshots
|
39
|
+
unless is_beta_build?
|
40
|
+
# App Metdata will not be updated for beta builds
|
42
41
|
|
43
|
-
|
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
|
-
|
46
|
+
verify_pdf_file
|
46
47
|
|
47
|
-
|
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]
|
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))
|
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: 0.7.
|
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
|
11
|
+
date: 2015-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|