Permalink
Browse files

quick fix to remove whitespace around sha1 hash

If its on a new line, it can't be used to git-tag
  • Loading branch information...
alister committed May 4, 2014
1 parent 48c3488 commit 7c30ea8be8004c6bfee0d1c7bb27b1383043f4bd
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/capistrano/deploy/tagger.rb
@@ -31,6 +31,8 @@ def git(cmd, opts={:output => false})
user = git("config --get user.name", {:output => true})
email = git("config --get user.email", {:output => true})
latest_revision.strip!
puts "[Capistrano-Deploy-Tagger] Updating deployment Git tags...\n"
git "fetch --tags", {:output => true}
@@ -97,4 +99,4 @@ def git(cmd, opts={:output => false})
set :branch, tag_name
end
end
end

0 comments on commit 7c30ea8

Please sign in to comment.