deliver 1.5.0 → 1.5.1
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 +1 -1
- data/lib/deliver/submit_for_review.rb +22 -12
- data/lib/deliver/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 096aa98aed262deef2e031a6fa9c9d27eb7dafad
|
|
4
|
+
data.tar.gz: 80423da9231b1bf09e0acdd6957778f1895240a3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0accb6655c8ee4e1b2e38a9c4e1ccf16b30bd995e21b4d856c9c3bd10c3db8db05e7fb761ade25728ed9d65383cf0fea633980a478c7403682c87cd45317f21b
|
|
7
|
+
data.tar.gz: 71d0e820ef9146fa06867b2e72be39866f023ff29d379e147a14558e12a8e3e030904cb89d989750bf816faf4e3d66df2136f9197c8f90026e88c59f8bffd316
|
data/README.md
CHANGED
|
@@ -31,7 +31,7 @@ deliver
|
|
|
31
31
|
[](https://twitter.com/KrauseFx)
|
|
32
32
|
[](https://github.com/KrauseFx/deliver/blob/master/LICENSE)
|
|
33
33
|
[](http://rubygems.org/gems/deliver)
|
|
34
|
-
[](https://travis-ci.org/fastlane/deliver)
|
|
35
35
|
|
|
36
36
|
###### Upload screenshots, metadata and your app to the App Store using a single command
|
|
37
37
|
|
|
@@ -32,39 +32,49 @@ module Deliver
|
|
|
32
32
|
Helper.log.info "Selecting the latest build..."
|
|
33
33
|
app = options[:app]
|
|
34
34
|
v = app.edit_version
|
|
35
|
+
build = wait_for_build(app)
|
|
36
|
+
|
|
37
|
+
Helper.log.info "Selecting build #{build.train_version} (#{build.build_version})..."
|
|
38
|
+
|
|
39
|
+
v.select_build(build)
|
|
40
|
+
v.save!
|
|
41
|
+
|
|
42
|
+
Helper.log.info "Successfully selected build".green
|
|
43
|
+
end
|
|
44
|
+
|
|
45
|
+
def wait_for_build(app)
|
|
46
|
+
raise "Could not find app with app identifier #{WatchBuild.config[:app_identifier]}".red unless app
|
|
35
47
|
|
|
36
48
|
start = Time.now
|
|
37
49
|
|
|
38
50
|
loop do
|
|
39
|
-
|
|
40
|
-
|
|
51
|
+
build = find_build(app)
|
|
52
|
+
return build if build.processing == false
|
|
41
53
|
|
|
42
|
-
Helper.log.info "Waiting iTunes Connect processing... this might take a while..."
|
|
54
|
+
Helper.log.info "Waiting iTunes Connect processing for build #{build.train_version} (#{build.build_version})... this might take a while..."
|
|
43
55
|
if (Time.now - start) > (60 * 5)
|
|
44
56
|
Helper.log.info ""
|
|
45
57
|
Helper.log.info "You can tweet: \"iTunes Connect #iosprocessingtime #{((Time.now - start) / 60).round} minutes\""
|
|
46
58
|
end
|
|
47
59
|
sleep 30
|
|
48
60
|
end
|
|
61
|
+
nil
|
|
62
|
+
end
|
|
49
63
|
|
|
64
|
+
def find_build(app)
|
|
50
65
|
build = nil
|
|
51
|
-
|
|
66
|
+
app.latest_version.candidate_builds.each do |b|
|
|
52
67
|
if !build or b.upload_date > build.upload_date
|
|
53
68
|
build = b
|
|
54
69
|
end
|
|
55
70
|
end
|
|
56
71
|
|
|
57
72
|
unless build
|
|
58
|
-
Helper.log.fatal
|
|
59
|
-
raise "Could not find build
|
|
73
|
+
Helper.log.fatal app.latest_version.candidate_builds
|
|
74
|
+
raise "Could not find build".red
|
|
60
75
|
end
|
|
61
76
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
v.select_build(build)
|
|
65
|
-
v.save!
|
|
66
|
-
|
|
67
|
-
Helper.log.info "Successfully selected build".green
|
|
77
|
+
return build
|
|
68
78
|
end
|
|
69
79
|
end
|
|
70
80
|
end
|
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.5.
|
|
4
|
+
version: 1.5.1
|
|
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-
|
|
11
|
+
date: 2015-11-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: fastlane_core
|
|
@@ -50,7 +50,7 @@ dependencies:
|
|
|
50
50
|
requirements:
|
|
51
51
|
- - ">="
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: 0.
|
|
53
|
+
version: 0.14.0
|
|
54
54
|
- - "<="
|
|
55
55
|
- !ruby/object:Gem::Version
|
|
56
56
|
version: 1.0.0
|
|
@@ -60,7 +60,7 @@ dependencies:
|
|
|
60
60
|
requirements:
|
|
61
61
|
- - ">="
|
|
62
62
|
- !ruby/object:Gem::Version
|
|
63
|
-
version: 0.
|
|
63
|
+
version: 0.14.0
|
|
64
64
|
- - "<="
|
|
65
65
|
- !ruby/object:Gem::Version
|
|
66
66
|
version: 1.0.0
|
|
@@ -268,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
268
268
|
version: '0'
|
|
269
269
|
requirements: []
|
|
270
270
|
rubyforge_project:
|
|
271
|
-
rubygems_version: 2.4.
|
|
271
|
+
rubygems_version: 2.4.0
|
|
272
272
|
signing_key:
|
|
273
273
|
specification_version: 4
|
|
274
274
|
summary: Upload screenshots, metadata and your app to the App Store using a single
|