Browse files

Updated README

  • Loading branch information...
1 parent f17ed6f commit 83870bf0d34c08759dcaeda59b74dcc5a30b2c84 @denro denro committed Feb 9, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.rdoc
4 README.rdoc
@@ -19,11 +19,15 @@ You have a few configuration options. If you are using a Git remote other than "
HerokuRelease.config.heroku_remote = "production" # git remote for heroku, defaults to "heroku"
HerokuRelease.config.version_file_path = "public/version" # if not set no version file will be generated
HerokuRelease.config.changelog_path = "CHANGELOG" # if not set no changelog file will be generated
+ HerokuRelease.config.branch = 'production' # defaults to 'master'
To deploy the master branch to production, use the heroku_release rake task:
rake heroku_release COMMENT="This is a comment describing what changed since the last release"
+To deploy another branch to production, send the BRANCH env variable:
+ rake heroku_release BRANCH="production_branch"
If the deploy went horribly wrong and you need to do a rollback you can do so:
rake heroku_release:rollback

0 comments on commit 83870bf

Please sign in to comment.