-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong version when using git describe? #67
Comments
probably, but I think we're using the "raw" git describe output. Would have to alter how we filter out the "v". Could be an easy fix if you're interested. |
Our current work-around is to override the
|
Scratch that... didn't fix the problem like I thought. something indeed appears to be getting cached. My git.gitTagToVersionNumber := { tag: String =>
if(tag matches "v[0.9]+\\..*") Some(tag.drop(1))
else None
}
|
If I combine charleskubicek 's solution with overriding git.gitDescribedVersion <<= git.gitDescribedVersion((v) => v.map(_.drop(1)))
git.gitTagToVersionNumber := { tag: String =>
if(tag matches "v[0.9]+\\..*") Some(tag.drop(1))
else None
} |
Fixed in #88 |
When I have git.useGitDescribe set to true I noticed the following:
Shouldn't this be '0.8.0-1-gbeea47d'?
The text was updated successfully, but these errors were encountered: