Skip to content
This repository has been archived by the owner on Mar 21, 2018. It is now read-only.

Commit

Permalink
Use staging not stage environment
Browse files Browse the repository at this point in the history
  • Loading branch information
robdimarco committed Aug 13, 2014
1 parent a6ca3d5 commit 0aecf47
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ programatically increment the major or minor version instead of the
patch, which is the default (but can be explicitly set with `--patch`).

```bash
$ rain on stage --minor
$ rain on staging --minor
$ rain on production --major
```

Expand Down
2 changes: 1 addition & 1 deletion lib/generators/rain/install/templates/versions.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
stage: rel_0.0.1
staging: rel_0.0.1
production: rel_0.0.1
4 changes: 2 additions & 2 deletions lib/rain/deployer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ def on environment="production"
run_cmd("git tag #{tag.to_s}")
push_tag(tag)
else
update_release_tag(environment, GitTools::ReleaseTag.current("stage"))
say "Deploying existing tag #{GitTools::ReleaseTag.current("stage")} to '#{environment}'."
update_release_tag(environment, GitTools::ReleaseTag.current("staging"))
say "Deploying existing tag #{GitTools::ReleaseTag.current("staging")} to '#{environment}'."
end

run_cmd "bundle exec cap #{environment} deploy"
Expand Down
2 changes: 1 addition & 1 deletion spec/config/versions.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
---
stage: rel_0.0.1
staging: rel_0.0.1
production: rel_0.0.1

0 comments on commit 0aecf47

Please sign in to comment.