lib/potassium/recipes/heroku.rb in potassium-5.2.1 vs lib/potassium/recipes/heroku.rb in potassium-5.2.2
- old
+ new
@@ -39,10 +39,12 @@
gather_gem('heroku-stage')
end
copy_file '../assets/Procfile', 'Procfile'
copy_file '../assets/.buildpacks', '.buildpacks'
+ copy_file '../assets/bin/release', 'bin/release'
+ run 'chmod a+x bin/release'
template "../assets/bin/setup_heroku.erb", "bin/setup_heroku", force: true
run "chmod a+x bin/setup_heroku"
if logged_in?
@@ -86,10 +88,9 @@
run_toolbelt_command "create #{staged_app_name} --remote #{environment}"
run_toolbelt_command "labs:enable runtime-dyno-metadata", staged_app_name
run_toolbelt_command "config:add HEROKU_APP_NAME=#{staged_app_name}", staged_app_name
run_toolbelt_command "config:add #{rack_env}", staged_app_name
- run_toolbelt_command "config:add DEPLOY_TASKS=db:migrate", staged_app_name
set_rails_secrets(environment)
set_app_multi_buildpack(environment)
add_app_to_pipeline(staged_app_name, environment)
end