Skip to content

Commit

Permalink
Add support for custom tag name
Browse files Browse the repository at this point in the history
  • Loading branch information
Subodh Khanduri committed Oct 16, 2015
1 parent 1cff762 commit 1a8635a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capistrano/tasks/deploytags.rake
Expand Up @@ -35,7 +35,7 @@ namespace :deploy do
if ENV['NO_DEPLOYTAGS'] || fetch(:no_deploytags, false)
info "[deploytags] Skipping deploytags"
else
tag_name = CapistranoDeploytags::Helper.git_tag_for(fetch(:stage))
tag_name = ENV['CUSTOM_DEPLOYTAG'] || fetch(:custom_deploytag) || CapistranoDeploytags::Helper.git_tag_for(fetch(:stage))
latest_revision = fetch(:current_revision)
commit_message = CapistranoDeploytags::Helper.commit_message(latest_revision, fetch(:stage))

Expand Down

0 comments on commit 1a8635a

Please sign in to comment.