heroku-deploy 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Heroku
2
2
  module Deploy
3
- VERSION = "0.0.2"
3
+ VERSION = "0.0.3"
4
4
  end
5
5
  end
@@ -35,7 +35,7 @@ namespace :heroku do
35
35
  APP = ENV["PRODUCTION_APP"]
36
36
 
37
37
  current_branch = `git rev-parse --abbrev-ref HEAD`
38
- if current_branch != "production"
38
+ if current_branch.strip != "production"
39
39
  puts "-----> You can't do a deploy from '#{current_branch}'. Please use 'production' branch.".red
40
40
  exit
41
41
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: heroku-deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: