RiotGamesMinions / thor-scmversion

Thor tasks to manage a VERSION file based on SCM tags
MIT License
58 stars 22 forks source link

1.5.0 breaks with detached branches #28

Open thommay opened 10 years ago

thommay commented 10 years ago

This affects things like jenkins:

[jenkins@chelbldean001 workspace]$ git name-rev --name-only HEAD remotes/origin/master [jenkins@chelbldean001 workspace]$ git config branch.git name-rev --name-only HEAD.remote [jenkins@chelbldean001 workspace]$ echo $? 1

Afterglow commented 10 years ago

Same issue here with Jenkins

KAllan357 commented 10 years ago

Seeing this with Jenkins as well.

ivey commented 10 years ago

I'm going to revert the change and yank the 1.5.0 gem for now while we look for a more complete fix. Stand by.

On Thu, Nov 14, 2013 at 4:51 PM, Kyle Allan notifications@github.com wrote:

Seeing this with Jenkins as well.

Reply to this email directly or view it on GitHub: https://github.com/RiotGames/thor-scmversion/issues/28#issuecomment-28531091