lib/heroku_deploy/tasks.rb in heroku_deploy-0.0.6 vs lib/heroku_deploy/tasks.rb in heroku_deploy-0.0.7
- old
+ new
@@ -30,18 +30,16 @@
puts ""
puts "Creating staging branch"
puts ""
`git branch staging`
- `git checkout staging`
- `git push origin origin:refs/heads/staging`
+ `git push origin origin/master:refs/heads/staging`
puts ""
puts "Creating production branch"
puts ""
`git branch production`
- `git checkout production`
- `git push origin origin:refs/heads/production`
+ `git push origin origin/master:refs/heads/production`
`git checkout master`
puts ""
puts "Creating #{staging_app} Heroku app"
\ No newline at end of file