When you push new code, make configuration changes, or modify resources, Heroku creates a new release and restarts the application automatically.
Through its robust release management mechanism, Heroku provides the flexibility to do the following:
List the history of releases.
Use rollbacks to revert to prior releases in case the deployment or configuration went wrong
To check the history of your application releases, you can type the following command:
$ heroku releases === gentle-mesa-5445 Releases v2 Enable Logplex [email protected] 2012/12/03 03:39:37 v1 Initial release [email protected] 2012/12/03 03:39:36
The preceding output shows that the application has had two releases so far, the latest one being shown at the top.