pilot 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -11
- data/lib/pilot/build_manager.rb +17 -4
- data/lib/pilot/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: 87dfa4283396c82c72f031ac5bed0fc5296e419a
|
4
|
+
data.tar.gz: f4336b3468de1310ea6305ced106ce8c54307b50
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d21c455e72a76a26762ca64021289f416715c42288fad11dafae7a9922726aec833418fc20bff1f955cdab0db3b8b82008ee4c5e91bf37c334fd857db3c2e13f
|
7
|
+
data.tar.gz: 575e61e1e3f70cce228cdebd7f1ee5e892ccd648074fb9162cfbdde686e858b5d27a0ce22227aeaa384e064cbce682b8fa7d8e74aaf6a9c9938dbf89401cc8a4
|
data/README.md
CHANGED
@@ -16,7 +16,8 @@
|
|
16
16
|
<a href="https://github.com/KrauseFx/codes">codes</a> •
|
17
17
|
<a href="https://github.com/fastlane/spaceship">spaceship</a> •
|
18
18
|
<b>pilot</b> •
|
19
|
-
<a href="https://github.com/fastlane/boarding">boarding</a>
|
19
|
+
<a href="https://github.com/fastlane/boarding">boarding</a> •
|
20
|
+
<a href="https://github.com/fastlane/gym">gym</a>
|
20
21
|
</p>
|
21
22
|
-------
|
22
23
|
|
@@ -230,9 +231,16 @@ pilot import -c ~/Desktop/testers.csv
|
|
230
231
|
- [`cert`](https://github.com/KrauseFx/cert): Automatically create and maintain iOS code signing certificates
|
231
232
|
- [`spaceship`](https://github.com/fastlane/spaceship): Ruby library to access the Apple Dev Center and iTunes Connect
|
232
233
|
- [`boarding`](https://github.com/fastlane/boarding): The easiest way to invite your TestFlight beta testers
|
234
|
+
- [`gym`](https://github.com/fastlane/gym): Building your iOS apps has never been easier
|
233
235
|
|
234
236
|
##### [Like this tool? Be the first to know about updates and new fastlane tools](https://tinyletter.com/krausefx)
|
235
237
|
|
238
|
+
## Debug information
|
239
|
+
|
240
|
+
If you run into any issues you can use the `verbose` mode to get a more detailed output:
|
241
|
+
|
242
|
+
pilot --verbose
|
243
|
+
|
236
244
|
## How is my password stored?
|
237
245
|
|
238
246
|
`pilot` uses the [CredentialsManager](https://github.com/fastlane/CredentialsManager) from `fastlane`.
|
@@ -245,13 +253,3 @@ pilot import -c ~/Desktop/testers.csv
|
|
245
253
|
This project is licensed under the terms of the MIT license. See the LICENSE file.
|
246
254
|
|
247
255
|
> This project and all fastlane tools are in no way affiliated with Apple Inc. This project is open source under the MIT license, which means you have full access to the source code and can modify it to fit your own needs. All fastlane tools run on your own computer or server, so your credentials or other sensitive information will never leave your own computer. You are responsible for how you use fastlane tools.
|
248
|
-
|
249
|
-
# Contributing
|
250
|
-
|
251
|
-
1. Create an issue to start a discussion about your idea
|
252
|
-
2. Fork it (https://github.com/fastlane/pilot/fork)
|
253
|
-
3. Create your feature branch (`git checkout -b my-new-feature`)
|
254
|
-
4. Commit your changes (`git commit -am 'Add some feature'`)
|
255
|
-
5. Push to the branch (`git push origin my-new-feature`)
|
256
|
-
6. Create a new Pull Request
|
257
|
-
|
data/lib/pilot/build_manager.rb
CHANGED
@@ -76,12 +76,25 @@ module Pilot
|
|
76
76
|
def distribute_build(upload_date)
|
77
77
|
Helper.log.info "Distributing new build to testers"
|
78
78
|
|
79
|
-
|
80
|
-
|
79
|
+
# We try this multiple times, as it sometimes takes some time
|
80
|
+
# to process the binary
|
81
|
+
10.times do
|
82
|
+
current_build = app.builds.find do |build|
|
83
|
+
build.upload_date == upload_date
|
84
|
+
end
|
85
|
+
|
86
|
+
if current_build
|
87
|
+
current_build.build_train.update_testing_status!(true)
|
88
|
+
return true
|
89
|
+
else
|
90
|
+
Helper.log.info "Binary is not yet available online..."
|
91
|
+
sleep 5
|
92
|
+
end
|
81
93
|
end
|
82
94
|
|
83
|
-
|
84
|
-
|
95
|
+
Helper.log.error "Build is not visible on iTunes Connect any more - couldn't distribute to testers.".red
|
96
|
+
Helper.log.error "You can run `pilot --skip_submission` to only upload the binary without distributing.".red
|
97
|
+
raise "Error distributing the binary"
|
85
98
|
end
|
86
99
|
end
|
87
100
|
end
|
data/lib/pilot/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pilot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
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-08-
|
11
|
+
date: 2015-08-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane_core
|