def validate_git_vars
unless exists?(:branch) && exists?(:stage)
logger.log Capistrano::Logger::IMPORTANT, "Capistrano Deploytags requires that :branch and :stage be defined."
raise 'define :branch or :stage'
end
end
there is check for both :branch AND :stage but in raise there is define :branch OR :stage i belive it should be
there is check for both :branch AND :stage but in raise there is define :branch OR :stage i belive it should be