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.
- data/lib/heroku-deploy/version.rb +1 -1
- data/lib/tasks/deploy.rake +1 -1
- metadata +1 -1
data/lib/tasks/deploy.rake
CHANGED
@@ -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
|