From 4a3560b753440fa30b30bdfff1630d5aad493e5a Mon Sep 17 00:00:00 2001 From: Simon hughes Date: Thu, 4 Aug 2016 13:03:47 +0100 Subject: [PATCH] Undefined variable fix. Missing fetch(: ). --- lib/capistrano/deploytags.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/capistrano/deploytags.rb b/lib/capistrano/deploytags.rb index 1fbcef2..5eebdee 100644 --- a/lib/capistrano/deploytags.rb +++ b/lib/capistrano/deploytags.rb @@ -22,7 +22,7 @@ module CapistranoDeploytags def self.commit_message(current_sha, stage) if fetch(:deploytag_commit_message, false) - deploytag_commit_message + fetch(:deploytag_commit_message) else tag_user = (ENV['USER'] || ENV['USERNAME'] || 'deployer').strip "#{tag_user} deployed #{current_sha} to #{stage}"