GitVersion icon indicating copy to clipboard operation
GitVersion copied to clipboard

ContinuousDeployment doesn't update NugetVersion for Pull Request updates?

Open ashtonian opened this issue 10 years ago • 5 comments

We have a repo in ContinousDeployment mode and would like our PullReqeusts to produce packages that are differentiated so that the other tooling can detect changes appropriately.

our gitversion is simply:

mode: ContinuousDeployment
branches: {}

right now we get:

GitVersion.FullSemVer 0.1.0-PullRequest.5+1398
GitVersion.NuGetVersion 0.1.0-pullrequest0005

and

GitVersion.FullSemVer 0.1.0-PullRequest.5+1399
GitVersion.NuGetVersion 0.1.0-pullrequest0005

Notice that the nuget version doesn't iterate. I tried using the FullSemVer and it broke as that is not a nuget compatible package version.

ashtonian avatar Jun 20 '16 20:06 ashtonian

not sure if this is related/fixed by https://github.com/GitTools/GitVersion/issues/902 and https://github.com/GitTools/GitVersion/pull/906

ashtonian avatar Jun 20 '16 20:06 ashtonian

Yes, this is the same issue we were facing. I'm waiting for Jake to sign off and get the fix merged.

simonejsing avatar Jun 22 '16 04:06 simonejsing

Hey, sorry about the delay. Have been converting a bunch of OSS projects to Core CLR and setting up better release pipelines so other ppl can release. Am trying to get back here soon

JakeGinnivan avatar Jun 22 '16 05:06 JakeGinnivan

PR #906 has now been merged into master. It fixes this issue so I suggest you try it out and close this issue if it resolves your problem.

simonejsing avatar Jul 07 '16 19:07 simonejsing

This should be sorted by the next release. Closing. Post here or open another issue if it's still an issue after the next release

JakeGinnivan avatar Jul 10 '16 06:07 JakeGinnivan