Skip to content

Conversation

@mrb0nj
Copy link
Owner

@mrb0nj mrb0nj commented Feb 25, 2020

Placeholder PR for full API implementation

build.cake Outdated
Configuration = configuration,
NoBuild = true,
OutputDirectory = "./artifacts",
ArgumentCustomization = args => args.Append($"-p:PackageVersion={gitVersion.NuGetVersionV2}")
Copy link
Contributor

@jchannon jchannon Feb 26, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might also have edit/delete the Version task as that won't be updating AssemblyInfo any more. Might have to set UpdateAssemblyInfo = false but I assume it still will calculate the correct version number. Not sure how it does that. I know MinVer will use git tags and/or do a count of commits since the last git tag to give you 1.0.56 for example. UPDATE Looks to work the same way https://gitversion.net/docs/examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants