betabuilder 0.2.1 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +7 -0
- data/lib/beta_builder/deployment_strategies/testflight.rb +6 -5
- metadata +7 -5
data/README.md
CHANGED
@@ -78,6 +78,13 @@ You will be prompted to enter the release notes for the build; TestFlight requir
|
|
78
78
|
# return release notes here
|
79
79
|
end
|
80
80
|
end
|
81
|
+
|
82
|
+
Finally, you can also specify an array of distribution lists that you want to allow access to the build:
|
83
|
+
|
84
|
+
config.deploy_using(:testflight) do |tf|
|
85
|
+
...
|
86
|
+
tf.distribution_lists = %w{Testers Internal}
|
87
|
+
end
|
81
88
|
|
82
89
|
### Deploying to your own server
|
83
90
|
|
@@ -16,11 +16,12 @@ module BetaBuilder
|
|
16
16
|
|
17
17
|
def deploy
|
18
18
|
payload = {
|
19
|
-
:api_token
|
20
|
-
:team_token
|
21
|
-
:file
|
22
|
-
:notes
|
23
|
-
:
|
19
|
+
:api_token => @configuration.api_token,
|
20
|
+
:team_token => @configuration.team_token,
|
21
|
+
:file => File.new(@configuration.ipa_path, 'rb'),
|
22
|
+
:notes => get_notes,
|
23
|
+
:distribution_lists => @configuration.distribution_lists.join(","),
|
24
|
+
:notify => false
|
24
25
|
}
|
25
26
|
puts "Uploading build to TestFlight..."
|
26
27
|
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: betabuilder
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 19
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
-
|
10
|
-
version: 0.
|
8
|
+
- 3
|
9
|
+
- 0
|
10
|
+
version: 0.3.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Luke Redpath
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-01-
|
18
|
+
date: 2011-01-21 00:00:00 +00:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
@@ -90,6 +90,8 @@ extensions: []
|
|
90
90
|
|
91
91
|
extra_rdoc_files:
|
92
92
|
- README.md
|
93
|
+
- LICENSE
|
94
|
+
- CHANGES.md
|
93
95
|
files:
|
94
96
|
- CHANGES.md
|
95
97
|
- LICENSE
|