Release management

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

Checking installed releases

To check the history of your application releases, you can type the following command:

$ heroku releases
=== gentle-mesa-5445 Releases
v2  Enable Logplex   ahanjura@gmail.com  2012/12/03 03:39:37
v1  Initial release  ahanjura@gmail.com  2012/12/03 03:39:36

The preceding output shows that the application has had two releases so far, the latest one ...

Get Heroku Cloud Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.