Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Heroku releases - how to roll forward after rolling back?

Heroku has a "releases" feature that allows you to roll back to a specific deployment release. I've seen a lot of info about rolling back, but how do you roll forward again after rolling back?

Basically, I'd like to roll back to a particular release to see if it was the one that introduced some bugs. I have a feeling it isn't, so I'm pretty sure I'll be reverting back (rolling forward) to the latest release as soon as I find out.

And if it's not doable with Heroku releases, I imagine it is with Git. That said, if I use Git to do this, I don't want my local Git repo's history to be touched. I'd only want the Heroku repo to be rolled back/forward.

So... how?

like image 466
XåpplI'-I0llwlg'I - Avatar asked Jan 09 '13 13:01

XåpplI'-I0llwlg'I -


1 Answers

This seems very doable with the heroku client from their toolbelt.

heroku releases:info

and then

heroku rollback v502

to the forward version you want

like image 160
winfred Avatar answered Sep 20 '22 01:09

winfred