technicalpickles/capistrano-gitflow — pull request #3 by qnm (2012-09-06 01:21:56+00:00)
Title: Support :remote capistrano config

As I have a fork-based workflow, I want to push my staging and production tags to a remote that isn't 'origin'.

With this patch, the remote server is now configurable, but defaults to origin - the case for most people.

Fetching tags in :calculate_tag now receives tags for all remotes, so that remotes other than 'origin' will have their tags retrieved. (line 79)

I've also made a change that will push one tag rather than all tags (--tags) to the remote. (line 84)

Lastly, tagging now uses #{current_sha} rather than assuming HEAD. Maybe not necessary but probably good practice. (line 145)