Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updated README

  • Loading branch information...
commit 83870bf0d34c08759dcaeda59b74dcc5a30b2c84 1 parent f17ed6f
@denro denro authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 README.rdoc
View
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
Please sign in to comment.
Something went wrong with that request. Please try again.