JakeGinnivan/GitHubFlowVersion — pull request #51 by AirbornePorcine (2014-04-25 21:53:25+00:00)
Title: Support for building tags

We found a bit of an issue in the logic used to determine whether a branch is a pull request - namely that if you were on a disconnected head by way of checking out a particular tag, we would attempt to run the pull-request logic which would result in the error "Found more than one remote tip from remote, unable to determine which one to use."

Our slightly modified version of githubflow uses tags to deploy to different environments, and additionally the base githubflow workflow should allow for deploying past tags. In the current version, this fails as above.

Now we check both for disconnected heads and for whether the tip of the head is a tag before deciding that our branch is a pull request.