lib/potassium/recipes/heroku.rb in potassium-2.0.0 vs lib/potassium/recipes/heroku.rb in potassium-2.1.0
- old
+ new
@@ -105,15 +105,9 @@
app_name_for(environment)
)
end
def add_app_to_pipeline(app_env_name, environment)
- pipelines_plugin = `heroku plugins | grep pipelines`
- if pipelines_plugin.empty?
- puts "You need heroku pipelines plugin. Run: heroku plugins:install heroku-pipelines"
- exit 1
- end
-
pipeline = `heroku pipelines:info \
#{heroku_pipeline_name} 2>/dev/null | grep #{heroku_pipeline_name}`
pipeline_command = pipeline.empty? ? "create" : "add"
run_toolbelt_command(