betabuilder 0.3.0 → 0.3.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.
data/CHANGES.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 0.3.1
2
+ * Separate the :deploy task into :prepare and :deploy tasks.
3
+
4
+ ## 0.3
5
+ * Added support for distribution lists to the TestFlight deployment strategy
6
+
1
7
  ## 0.2.1
2
8
  * Allow the namespace of generated tasks to be customised
3
9
 
data/lib/beta_builder.rb CHANGED
@@ -88,9 +88,13 @@ module BetaBuilder
88
88
  end
89
89
 
90
90
  if @configuration.deployment_strategy
91
- desc "Deploy the beta to your server"
92
- task :deploy => :package do
91
+ desc "Prepare your app for deployment"
92
+ task :prepare => :package do
93
93
  @configuration.deployment_strategy.prepare
94
+ end
95
+
96
+ desc "Deploy the beta using your chosen deployment strategy"
97
+ task :deploy => :prepare do
94
98
  @configuration.deployment_strategy.deploy
95
99
  end
96
100
 
@@ -22,6 +22,7 @@ module BetaBuilder
22
22
  end
23
23
 
24
24
  def prepare
25
+ puts "Nothing to prepare!"
25
26
  end
26
27
  end
27
28
 
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: 19
4
+ hash: 17
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 0
10
- version: 0.3.0
9
+ - 1
10
+ version: 0.3.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Luke Redpath