Still in TeamCity, in your application's build configuration, set up a build step before your compilation step as described here under "Basic Usage" In TeamCity, add a configuration parameter to your build configuration's parent project named GitVersion.NuGetVersion (If you are wondering why GitVersion has NuGetVersion and NuGetVersionV2 output variables read here If you haven't been tagging any version numbers onto your commits, have a read on how to manually increment your version number and get this right locally before proceeding - the nice thing about GitVersion is you can run the executable locally and see what version it will generate for a given commit in your repository. Indicate you are using GitFlow, and select to increment the SemVer every commit - this is referred to as continuous deployment mode In your solution root run packages\GitVersion.CommandLine.3.3.0\tools\gitversion.exe init and run the getting started wizard. Install-Package GitVersion.CommandLine into your application
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |