Skip to content

Releases: GitTools/GitVersion

v3.0.2

29 Jul 08:38
Compare
Choose a tag to compare
  • Fixed gitversion init crash

v3.0.1

28 Jul 11:01
Compare
Choose a tag to compare
  • Fixes issue with commit counting

v3.0.0

28 Jul 04:37
Compare
Choose a tag to compare

GitVersion v3 has been a long time in the making and many people have been using the beta for months. v3 was almost a complete rewrite to enable GitVersion to be more predictable and work for far more workflows and environments.

Blog post at http://jake.ginnivan.net/blog/2015/07/28/gitversion-v3/

Thanks to all the contributors including Sam Harwell (sharwell), Raphael Haddad (RaphHaddad), (Tungsten78), Cameron MacFarland (distantcam), Simon Cropp (SimonCropp), Chris Maffin (Sacrelicious), Anthony Ledesma (arledesma), Marcel Jamin (mjamin), Johannes Egger (eggapauli), Meirion Hughes (MeirionHughes), Asbjørn Ulsberg (asbjornu), Shay Rojansky (roji), Rich Knight (rcknight), Jake Ginnivan (JakeGinnivan), Yannis Güdel (yannisgu), Marcus Griep (neoeinstein), Geert van Horrik (GeertvanHorrik), Henning Moe (GeirGrusom), Örjan Sjöholm (orjan), João Bragança (thefringeninja), (anobleperson), (Martaver), Gary Park (gep13)

Closed Since beta.4

  • #524 #516 #502 #209 #122 #220 #293 #374 - Documentation
  • #537 - Updated the generated output to include an "auto-generated" header contributed by Sam Harwell (sharwell)
  • #536 #530 - Update task contributed by Simon Cropp (SimonCropp)
  • #535 - Generated files are missing a standard auto-generated header
  • #532 - Init improvements
  • #530 - Gfv* variables
  • #528 - Caching nuget packages for quicker builds. contributed by Cameron MacFarland (distantcam)
  • #527 - Used regex to determine if version attributes are still there. contributed by Cameron MacFarland (distantcam)
  • #525 - Added generated classes to their own namespace to avoid conflicts. contributed by Cameron MacFarland (distantcam)
  • #523 - Fixes version calculation issue introduced when fixing #465
  • #522 #501 #223 - Fix Gem deployment
  • #521 #506 - Badges!
  • #514 - GitVersion.Portable throws when trying to init a new version number +fix
  • #513 - Cryptic exception when the git folder can't be found +enhancement
  • #511 #203 - Better exception text for auth error contributed by Raphael Haddad (RaphHaddad)
  • #510 - TagPrefix cleanup contributed by (Tungsten78)
  • #503 #367 - Dynamic repo should require a branch specified contributed by Raphael Haddad (RaphHaddad)
  • #500 - Guess when there are two branches pointing at the same commit. Trying…
  • #497 #378 - Filtering passwords at logging level issue #378 contributed by Raphael Haddad (RaphHaddad)
  • #496 #495 - Address tag parsing contributed by (Tungsten78)
  • #486 #485 - Warning should be info: No specific commit specified or found, falling back to latest commit on specified branch contributed by Oren Novotny (onovotny)
  • #484 #452 - #Support specific branches for tracking versions contributed by Geert van Horrik (GeertvanHorrik)
  • #483 - Version caching was looking at working directory not git directory contributed by Chris Maffin (Sacrelicious)
  • #474 - Replace or update assembly info in files contributed by Chris Maffin (Sacrelicious)
  • #470 - Enable config based ignoring of commits/messages that incorrectly inc… contributed by Chris Maffin (Sacrelicious)
  • #460 - Discrepencies between GitVersion CommandLine and GitVersionTask
  • #448 #121 - GitVersion task assembly version issues
  • #403 - ShowVariable switch has incorrect help and fails to work +fix
  • #285 - Correct version in TeamCity agent (checkout on agent) when no tags available.

Rest of issues closed in v3 release

  • #482 - Update ArgumentParser to use variables from VersionVariables contributed by Anthony Ledesma (arledesma)
  • #480 - Included AssemblyInfo.vb in file update contributed by Marcel Jamin (mjamin)
  • #479 - Init improvements
  • #478 #465 - Hotfix resets PreReleaseTag.Number to 1
  • #477 #472 - Logging improvements (Add logging indent and timing)
  • #469 #471 - GitVersionTask does not detect git repo if sln isn't in git root contributed by Chris Maffin (Sacrelicious)
  • #468 - Use authentication in GitPreparer.GetRemoteReference contributed by Johannes Egger (eggapauli)
  • #467 - Filter out merge messages that look like versions but aren't contributed by Chris Maffin (Sacrelicious)
  • #464 - Fix tracking branches in dynamic repositories contributed by Johannes Egger (eggapauli)
  • #456 - Failing inheritance fixes
  • #453 - Sequence contains more than one matching element
  • #451 - Dynamic repo config file
  • #442 - Resolve incorrect generation of meta count when there are multiple remote branches contributed by Meirion Hughes (MeirionHughes)
  • #440 - Tests fail: Can't find git contributed by Asbjørn Ulsberg (asbjornu)
  • #439 - Pick up GitVersionConfig.yaml when using a dynamic repository contributed by Johannes Egger (eggapauli)
  • #438 - AssemblyInfo attributes regex fix contributed by Shay Rojansky (roji)
  • #437 - Extremely slow UpdateAssemblyInfo in GitVersionTask
  • #432 #431 - Add NoFetch option to ...
Read more

v3.0.0-beta.4

25 Jun 21:42
Compare
Choose a tag to compare

With this release we are getting very close to releasing v3.0.0. There have been quite a few improvements with the gitversion init configuration tool, give it a spin!

  • #482 - Update ArgumentParser to use variables from VersionVariables contributed by Anthony Ledesma (arledesma)
  • #480 - Included AssemblyInfo.vb in file update contributed by Marcel Jamin (mjamin)
  • #479 - Init improvements
  • #478 #465 - Hotfix resets PreReleaseTag.Number to 1
  • #477 #472 - Logging improvements (Add logging indent and timing)
  • #469 #471 - GitVersionTask does not detect git repo if sln isn't in git root contributed by Chris Maffin (Sacrelicious)
  • #468 - Use authentication in GitPreparer.GetRemoteReference contributed by Johannes Egger (eggapauli)
  • #467 - Filter out merge messages that look like versions but aren't contributed by Chris Maffin (Sacrelicious)
  • #464 - Fix tracking branches in dynamic repositories contributed by Johannes Egger (eggapauli)

Commits: d64f3b5...bec5eb5

3.0.0-Beta3

08 Jun 18:25
Compare
Choose a tag to compare

There are a number of fixes in beta3, including dynamic repository issues, major performance problems and others.

Another feature which has been started is gitversion init which allows you to configure GitVersion in a discoverable way. It has two modes, the first is a walkthrough style setup the second simply allows you to edit parts of the config through the command line interface. This should help you get GitVersion 3.0 working exactly the way you want. This will improve over the next few weeks, it's pretty raw at the moment. Feedback is wanted

  • #456 - Failing inheritance fixes
  • #453 - Sequence contains more than one matching element
  • #451 - Dynamic repo config file
  • #442 - Resolve incorrect generation of meta count when there are multiple remote branches contributed by Meirion Hughes (MeirionHughes)
  • #440 - Tests fail: Can't find git contributed by Asbjørn Ulsberg (asbjornu)
  • #439 - Pick up GitVersionConfig.yaml when using a dynamic repository contributed by Johannes Egger (eggapauli)
  • #438 - AssemblyInfo attributes regex fix contributed by Shay Rojansky (roji)
  • #437 - Extremely slow UpdateAssemblyInfo in GitVersionTask
  • #432 #431 - Add NoFetch option to GitVersionTask.targets contributed by Mark Zuber (MarkZuber)
  • #430 - Log location of dynamic repository contributed by Johannes Egger (eggapauli)
  • #429 - Fix for inheriting config where develop branch is named development contributed by Rich Knight (rcknight)
  • #427 - This changes AssemblyVersioningScheme.MajorMinorPatchMetadata to Assembl... contributed by Jake Ginnivan (JakeGinnivan)
  • #426 - Fixes null ref exception when there is a remote 'develop' branch, but no... contributed by Jake Ginnivan (JakeGinnivan)
  • #425 - Fix stale dynamic repo contributed by Jake Ginnivan (JakeGinnivan)
  • #424 - Logging was not initialised early enough causing a crash contributed by Jake Ginnivan (JakeGinnivan)
  • #423 - Fix bug on PR when target has two possibilities contributed by Yannis Güdel (yannisgu)
  • #422 - Fix #411 contributed by Yannis Güdel (yannisgu)
  • #420 - Running 3.0.0-beta2 throws exception because it's missing a logger +fix
  • #418 - Stale dynamic repo cache
  • #416 - Installing with Chocolatey failed
  • #415 - Incorrect PR version in 3.0 +fix
  • #411 - StackOverflowException when two feature branches are pointing to the same commit +fix
  • #409 - Object reference not set to an instance of an object +fix
  • #407 - Check for null when looking for a git directory and show an appropriate ... contributed by Henning Moe (GeirGrusom)
  • #406 - GitVersionTasks throws ArgumentNullException when building on TeamCity.
  • #398 - With large repositories it is slow to delete and reclone the dynamic directory every time +enhancement
  • #391 - Classic version and MajorMinorPatchMetadata +fix
  • #379 - GitVersion trying to fetch remotes even though tracking branches are set up
  • #272 - Add Branch Normalisation when calling /output json +enhancement

3.0.0-Beta2

07 Apr 06:38
Compare
Choose a tag to compare
  • #414 - GitHubFlow and GitFlow links around wrong way on site
  • #412 - Dynamic repository checkout doesn't work with /updateassemblyinfo
  • #410 - Added support for -nofetch command line argument and 'NoFetch' MSBuild T... contributed by (Martaver)
  • #408 - Tolerate temp file directory not existing when cleaning up contributed by Marcus Griep (neoeinstein)
  • #407 - Check for null when looking for a git directory and show an appropriate ... contributed by Henning Moe (GeirGrusom)
  • #406 - GitVersionTasks throws ArgumentNullException when building on TeamCity.
  • #399 - Dynamic repository location
  • #398 - With large repositories it is slow to delete and reclone the dynamic directory every time +enhancement
  • #397 - [SPIKE] A more strict approach for finding versions in commit messages contributed by Örjan Sjöholm (orjan)
  • #396 - Wrong working directory when building on TeamCity +fix
  • #395 - IP nummer in merge messages is treated as versions
  • #394 - Should inherit prevent version increment as well
  • #392 #389 - Develop now tracks version on master
  • #390 - Fixes #389 contributed by Geert van Horrik (GeertvanHorrik)
  • #388 #387 - Allow specification of target SHA for dynamic repositories (/c <sha>) +enhancement
  • #386 - Updated libgit2sharp contributed by Geert van Horrik (GeertvanHorrik)
  • #385 - Invalid version number detected in merge message +fix
  • #383 - Feature/fix merge detection contributed by Johannes Egger (eggapauli)
  • #382 - Fixes #380 "Merge tag '1.1.0' into support/1.0" is not recognized as merge commit contributed by Johannes Egger (eggapauli)
  • #377 #376 - Fixes #375 - Made known merge branch version number extraction case insensitive contributed by (anobleperson)

Commits: ae8118899f...fe1063fbb5

3.0.0-Beta1

23 Feb 14:30
Compare
Choose a tag to compare
3.0.0-Beta1 Pre-release
Pre-release

This is the first drop of the upcoming 3.0 that contains a rewritten core that will be much more flexible in terms of generating versions for alternate branching strategies. The readme has been updated to include more information on how GitVersion works. See Readme

New to GitVersion? Read more at http://particularlabs.github.io/GitVersion/

Release Notes

  • #370 - Eat your own dog food for GitVersion
  • #366 - Better continuous deployment logic
  • #365 #358 - Argument parser improvements
  • #361 - Alternative refspecs contributed by João Bragança (thefringeninja)
  • #360 - Wrong version is applied on a branch from a hotfix branch
  • #359 - Invalid arguments should return error code +fix
  • #352 - NextVersion.txt and GitVersionConfig.yaml support for dynamic repositories contributed by Geert van Horrik (GeertvanHorrik)
  • #351 - DynamicRepo - NextVersion.txt file when no /target branch arg
  • #336 - Dynamic Repository with GitHubFlow throws an exception
  • #335 - Feature branch with GitHubFlowVersion doesn't append pre release tag +fix
  • #331 - Release branch with GitHubFlowVersion doesn't append beta tag +fix
  • #323 - GitFlow: Include commits in PreReleaseTag for release, hotfix and feature branches
  • #292 - support for other names for tags and develop branch
  • #283 - Version string for both stable and pre-release NuGet builds
  • #281 - Version generated for PRs or features targeting support branches +fix
  • #278 - UpdateAssemblyInfo flag does not work if is last argument +fix
  • #263 - GitVersionTask doesn't fail the build when tip of head isn't a merge commit +fix
  • #252 - Command line not generating proper AssemblyVersion
  • #241 - Should we consider stamping AssemblyMetadataAttributes for some of our variables?
  • #237 - Missing /updateAssemblyInfo command line switches help info +fix
  • #232 - GitHubVersion for pull requests are not working with dynamic repositories
  • #230 - Master is building as a beta package? +fix
  • #228 - Support custom version tag prefix
  • #218 - TagsByDate should throw if more than 1 lightweight tags are applied to the same commit +fix
  • #217 - Remove branches merge commits are not identified as valid merge commits +fix
  • #213 - CommitsSinceTag is incorrect +fix
  • #212 - use standard version for AssemblyInformationalVersion
  • #207 - SupportVersionFinder and MasterVersionFinder are too equal in content
  • #202 - Possible bug in SetBuildVersion because it is adding +[number]
  • #192 - What is the rationale behind not printing errors? +enhancement
  • #179 - Build error when building from detached head should be downgraded to warning.
  • #178 - Add option to bump minor rather than patch by default in GitVersion +enhancement
  • #168 - Shift Signature along a timeline during the execution of a test

2.0.1

20 Jan 20:40
Compare
Choose a tag to compare

As part of this release we had 38 commits which resulted in 4 issues being closed.

Bugs

  • #356 When deriving previous minor version should ignore bad tags
  • #332 Defined project intermediate directory is not respected
  • #328 Update libgit2sharp for Git vulnerability
  • #321 Stash branch & pull requests merges are not properly parsed when branch name contains a JIRA key

2.0.0

16 Dec 09:45
Compare
Choose a tag to compare

2.0.0 adds more configuration and support for GitVersionConfig.yaml file. To see the sample config just run GitVersion init

As part of this release we had 74 commits which resulted in 23 issues being closed.

Features

  • #315 Added a new command line argument -assemblyVersionFormat
  • #305 Create Default Yaml File
  • #302 Config file updates
  • #291 Ability to merge release back to develop
  • #289 MyGet support (output specific to MyGet build server)
  • #277 Add config file support to GitVersionExe
  • #242 Non-semantic version mode?

Bugs

  • #317 Fixed libgit2 bug/deprecated
  • #312 Fixed assemblyinfo patching with stars
  • #309 OtherBranchVersionFinder.CreateDefaultPreReleaseTag should also split on /
  • #304 Making UpdateAssemblyInfo to only consider files under the workingDirectory
  • #296 Improve story for adding GitVersion into legacy repository
  • #294 Pre-release tag sorting is incorrect
  • #282 Always set exit code
  • #238 Semantic Version Regex
  • #146 Auto generated AssemblyFile location causes issues with symbols

1.3.3

02 Nov 20:27
Compare
Choose a tag to compare