Skip to content

Instantly share code, notes, and snippets.

@blackjid
Last active January 4, 2017 01:39
Show Gist options
  • Save blackjid/5b32fb50e5d017ecfd00692d97e7fd80 to your computer and use it in GitHub Desktop.
Save blackjid/5b32fb50e5d017ecfd00692d97e7fd80 to your computer and use it in GitHub Desktop.
Update heroku multibuildpack on all your apps
#!/bin/bash
request=$(heroku apps --json)
apps=$(echo $request | jq -r '.[] | select(.buildpack_provided_description=="Multipack").name')
for i in $apps;
do
echo $i
heroku buildpacks:set https://github.com/heroku/heroku-buildpack-multi.git --app $i
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment