Book Image

Heroku Cloud Application Development

By : Anubhav Hanjura
Book Image

Heroku Cloud Application Development

By: Anubhav Hanjura

Overview of this book

Table of Contents (17 chapters)
Heroku Cloud Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

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   [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.

Verifying the new release

A new release can be created by Heroku when you push new code or change some configuration parameters. For example, adding a new config param TEST_MAX_ARGS created a new release for the application...