recap
recap copied to clipboard
`capture_git` doesn't skipping
Capistrano has :on_no_matching_servers which allows you to skip tasks. I've built a tasks that uses capture_git
which still executes even with that flag on the task.
* 2014-02-05 09:13:01 executing `telework:setup'
** skipping `telework:setup' because no servers matched
* no servers for "cd /home/entelo/app && umask 002 && sg entelo -c 'git --no-pager log --format=format:\"%H,%h,%an,%ad\" -n 1'"
I'm not sure I understand. What do you expect to happen that isn't happening?