Permalink
Browse files

tag with stage instead of rails environment

  • Loading branch information...
1 parent 0320c77 commit ff6551b5331db052363b8322864e3cd380e89960 @dimko committed Oct 31, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/capistrano/git/tags.rb
@@ -14,9 +14,9 @@
namespace :tags do
def tag_format(options = {})
- tag_format = git_tag_format || ":rails_env_:release"
- tag_format = tag_format.gsub(":rails_env", options[:rails_env] || rails_env)
- tag_format = tag_format.gsub(":release", options[:release] || "")
+ tag_format = git_tag_format || ":stage_:release"
+ tag_format = tag_format.gsub(":stage", options[:stage] || stage)
+ tag_format = tag_format.gsub(":release", options[:release] || "")
tag_format
end

0 comments on commit ff6551b

Please sign in to comment.