Last active
August 29, 2015 14:19
-
-
Save romulomachado/c151f3a503fe6945eb6b to your computer and use it in GitHub Desktop.
How to update all your Heroku apps to cedar-14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# The Cedar-14 stack is the latest version of the Heroku Cedar stack. | |
# It features updated system dependencies and runs on a recent version of Ubuntu Linux. | |
# Use this scipt to update all your apps. | |
# Fill this array with your apps' names. | |
apps=( app-name-1 app-name-2 app-name-3 app-name-4 ... app-name-n ) | |
for app in "${apps[@]}" | |
do | |
heroku git:clone -a ${app}; cd ${app}; heroku stack:set cedar-14; git commit --allow-empty -m "Upgrade to Cedar-14"; git push heroku master; cd .. | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment