ydkn / capistrano-git-copy

Capistrano plugin that packages git repository locally and uploads it to server
18 stars 13 forks source link

strip branch name only if it is a string #6

Closed themilkman closed 9 years ago

themilkman commented 9 years ago

Fix for

(Backtrace restricted to imported tasks)
cap aborted!
NoMethodError: undefined method `strip' for :master:Symbol

Tasks: TOP => git_copy:create_release => git_copy:update
(See full trace by running task with --trace)
The deploy has failed with an error: undefined method `strip' for :master:Symbol

Cheers, Erik