Skip to content

Releases: GitTools/GitVersion

v3.5.1

26 Apr 11:34

Choose a tag to compare

Fixed broken VSTS task. The libgit2 binaries moved and they were not being included in the task anymore.

v3.5.0

26 Apr 08:27

Choose a tag to compare

I forgot to create release notes for 3.4.1 so this includes release notes for both releases. Quite a few fixes and this release should work on mono!

  • #839 - Fix gitlink's broken link in the documentation contributed by Kyle Ondy (KyleOndy)
  • #838 - Fix docs to state that Git_Branch is an environment variable for TeamCity contributed by Daniel Rose (DanielRose)
  • #829 - Implemented configuration override for #826 contributed by Chris Lee (labmonkey42)
  • #827 - Fix NullReferenceException contributed by Szymon Pobiega (SzymonPobiega)
  • #824 - Update refs contributed by Simon Cropp (SimonCropp)
  • #823 - Update configuration.md contributed by Nithin Shenoy (nshenoy)
  • #820 - Project Rider changes contributed by Asbjørn Ulsberg (asbjornu)
  • #819 - Vsts extension doc contributed by Pascal Berger (pascalberger)
  • #818 - Fixes #817 contributed by Darrell (dazinator)
  • #813 - Added some better docs about how to use with Octopus deploy contributed by Jake Ginnivan (JakeGinnivan)
  • #811 - Implement support for AssemblyInfo.vb in the MSBuild GitVersionTask contributed by Austin Morton (apmorton)
  • #808 - Include the config hash in the cache key contributed by Asbjørn Ulsberg (asbjornu)
  • #806 - Gitlab CI support contributed by (dfyx)
  • #805 - Fixed list contributed by (dcorriveau-omniscient)
  • #803 - Removed carriage returns contributed by (dcorriveau-omniscient)
  • #802 - Updated doc for a better read contributed by (dcorriveau-omniscient)
  • #801 - Fixed a few things in the index page contributed by (dcorriveau-omniscient)
  • #800 - Fixed "packages" typo in the version-increment doc page contributed by (dcorriveau-omniscient)
  • #795 - Additional Test to cover usage of main, instead of master contributed by Gary Ewan Park (gep13)
  • #793 - Fixed problems in MSBuild Task documentation contributed by Asbjørn Ulsberg (asbjornu)
  • #792 - Improved GitVersionTask documentation contributed by Asbjørn Ulsberg (asbjornu)
  • #790 - Support GitVersion.yml config file #575 contributed by Guillaume Rouchon (qetza)
  • #786 - Fix VSTS known limitation documentation contributed by Pascal Berger (pascalberger)
  • #785 - Add known limitations regarding tag handling in VSTS / TFS contributed by Pascal Berger (pascalberger)
  • #783 - Added ConfigProviderTests for FullSemVer contributed by Asbjørn Ulsberg (asbjornu)
  • #779 - Scoped prerelease number to prerelease label #756 contributed by Guillaume Rouchon (qetza)
  • #776 - Fix build & improve VSTS extension contributed by Pascal Berger (pascalberger)
  • #774 - Fix typo contributed by Pascal Berger (pascalberger)
  • #760 - Feature/630 create assembly info contributed by Phil Oyston (Philo)
  • #759 - Bump develop when release branch created contributed by Jake Ginnivan (JakeGinnivan)
  • #757 - Allow next-version to be an integer contributed by Asbjørn Ulsberg (asbjornu)

v3.4.1

26 Apr 08:18

Choose a tag to compare

Switched publishers

v3.4.0

31 Jan 01:56

Choose a tag to compare

3.4.0 is a pretty big release containing mostly bug fixes but a heap of little features and improvements to make it easier to get started and use GitVersion.

Highlights are:

  • When GitVersion runs on buildservers which do not allow fetch, it gets the branchname from environmental variables to prevent a fetch by default. This should make it much easier to just grab GitVersion and get started. It also reduces the need for dynamic repositories.
  • You can now use {BranchName} in your tag config. So for feature branches you could do alpha.{BranchName}
  • Can rebuild tags now without errors on the build server
  • Heaps of small commit counting/branch normalisation fixes
  • GitVersion now caches results, this speeds up a number of scenarios
  • Lots of small docs improvements to make things clearer

Complete Release notes

  • #768 - Document branch name variable usage in tag configuration #664 contributed by Gusztáv Varga (gusztavvargadr)
  • #767 - Fixed json serialisation of 0's contributed by Jake Ginnivan (JakeGinnivan) fixes #762 - Flakey data types of returned JSON data +fix
  • #765 - Perf improve part1 contributed by Eben Zhang (EbenZhangEmbed)
  • #764 - Test to make sure #675 is really fixed contributed by Jake Ginnivan (JakeGinnivan)
  • #763 - Fixed issue where config is no longer discovered contributed by Jake Ginnivan (JakeGinnivan)
  • #758 - +0 in Version numbers (VSTS)
  • #754 - Merge pull request #1 from GitTools/master contributed by oSilas (oSilas)
  • #752 - Add test which verifies #257 is fixed contributed by Jake Ginnivan (JakeGinnivan)
  • #744 - Bump develop when release branch is created contributed by Jake Ginnivan (JakeGinnivan)
  • #753 #742 - Create PreReleaseLabel and PreReleaseNumber #742 contributed by Guillaume Rouchon (qetza)
  • #738 - Fixed error contributed by Jake Ginnivan (JakeGinnivan) - fixes #731 - Unexpected error
  • #733 - Unit Tests for Issue #728 contributed by Nithin Shenoy (nshenoy)
  • #727 - Make sure to convert the whole object back to the JSON file contributed by Pascal Berger (pascalberger)
  • #724 - Remove requirement on master branch existing contributed by Gary Ewan Park (gep13)
  • #723 - Running in AppVeyor produces invalid semver for NuGet
  • #722 - A peeled target isn't necessarily a commit contributed by Asbjørn Ulsberg (asbjornu) - fixes #721 - InvalidCastException on untagged branch though tag on merged branch exists
  • #718 - VSO Task doesn't allow updated assembly info to be written to a specfic file
  • #717 - Converted VSO Task to use PowerShell contributed by John Kattenhorn (johnkattenhorn)
  • #716 - Tests to ensure up to date documentation contributed by Asbjørn Ulsberg (asbjornu)
  • #712 - More informative crash on invalid working directory contributed by Asbjørn Ulsberg (asbjornu)
  • #711 - Cache version information to disk contributed by Asbjørn Ulsberg (asbjornu)
  • #710 #709 - Added global:: prefix in AssemblyInfoBuilder to avoid namespace conflicts. contributed by (sponge-b0b) - #703 - Add documentation about support of VB.NET contributed by Pascal Berger (pascalberger)
  • #702 - Formatted the semver token explanation contributed by Asbjørn Ulsberg (asbjornu)
  • #701 - Add property to always expose commits since last version contributed by Oren Novotny (onovotny) - #700 - Commit count resets to 0 when merge detected on branches - #687 - Conditional ms build tasks contributed by (pi3k14)
  • #743 #681 - No longer resets commit count when branch is forward merged contributed by Jake Ginnivan (JakeGinnivan)
  • #675 - When running GitVersion on buildserver /output json is ignored
  • #766 #664 - Support branch name variable in tag configuration #664 contributed by Gusztáv Varga (gusztavvargadr)
  • #746 #690 #642 - Fix branch normalisation when building a non-tip tag. Fixes #690 contributed by Jake Ginnivan (JakeGinnivan)
  • #613 - Add /nofetch to argument help +fix
  • #713 - Improve documentation contributed by Asbjørn Ulsberg (asbjornu)
  • #751 #605 - Display nicer error message when git is not on the path and GitVersio… contributed by Jake Ginnivan (JakeGinnivan)
  • #755 #606 #604 #628 - Prevent fetch for Vso and Jenkins, TeamCity contributed by Jake Ginnivan (JakeGinnivan)
  • #750 #548 - Do not pick up version in merge target contributed by Jake Ginnivan (JakeGinnivan)
  • #714 #473 - Add version info if it does not exist contributed by Josh Hobbs (FunnyFry)
  • #257 - Allows assembly info update to run multiple times +enhancement

v3.3.0

20 Oct 13:03

Choose a tag to compare

Highlights for this release are the ability to format AssemblyInformationalVersion in config using string interpolation ({Major}.{Minor}.{Patch} etc using the GitVersion variables), better build number. Pascal Berger (pascalberger) also improved the docs quite a bit!

  • #696 - Performance fix contributed by Jake Ginnivan (JakeGinnivan)
  • #693 - Development branch version not updated after creating a release branch
  • #689 - Enable use of GitVersion variables in the VSO BuildNumber contributed by Oren Novotny (onovotny)
  • #684 - Don't check excluded branches for commits
  • #680 - Make sure that we're not evaluating excluded branches contributed by Örjan Sjöholm (orjan)
  • #678 - Add support for relative logfile paths contributed by Asbjørn Ulsberg (asbjornu)
  • #676 - Conditional ms build tasks contributed by (pi3k14)
  • #660 - Add support and tests for AssemblyInformationalVersion configurability contributed by Mark Zuber (MarkZuber)
  • #618 #674 - NullReferenceException in FindCommitBranchWasBranchedFrom
  • #368 - Allow configuring AssemblyInformationalVersion contents +enhancement

v3.2.0

12 Oct 00:23

Choose a tag to compare

  • #683 - Improve usage documentation contributed by Pascal Berger (pascalberger)
  • #682 - Build Metadata for branch includes invalid characters from branch name contributed by Ronny Hanssen (Spiralis)
  • #677 #674 - FindCommitBranchWasBranchedFrom should not throw NullReferenceException contributed by Asbjørn Ulsberg (asbjornu)
  • #670 - Add missing NuGet package contributed by Eberhard Beilharz (ermshiperete)
  • #669 - Allow building on Linux contributed by Eberhard Beilharz (ermshiperete)
  • #667 #672 - TFS Build vNext Documentation also for TFS On-Prem contributed by Pascal Berger (pascalberger)
  • #665 #663 - Update build version from VSO Agent task. contributed by Pascal Berger (pascalberger)
  • #661 #557 #659 #557 - Feature/659 fix ip should not be matched as versions contributed by Marcel Körtgen (mkoertgen)
  • #654 - Removed dead projects contributed by Cameron MacFarland (distantcam)
  • #653 - Expose NoFetch to fix #646 contributed by Oren Novotny (onovotny)
  • #650 - Fix link to architecture documentation contributed by Pascal Berger (pascalberger)
  • #649 - Update who.md contributed by Asbjørn Ulsberg (asbjornu)
  • #646 - GitVersionTask 3.1.2 tries to fetch on VsoAgent
  • #645 - Git tools core integration contributed by Jake Ginnivan (JakeGinnivan)
  • #641 - Improve formatting and fix some typos contributed by Eberhard Beilharz (ermshiperete)
  • #640 - Upgraded to GitTools.Testing contributed by Jake Ginnivan (JakeGinnivan)
  • #631 - re #630 - optionally allows /updateassemblyinfofilename to be generated contributed by Phil Oyston (Philo)

Commits: 5e40599...fd77425

3.1.2

07 Sep 10:53

Choose a tag to compare

  • #634 - Automatically increment version numbers for hotfixes?
  • #627 - Default config updates to recognize more defaults
    contributed by Oren Novotny (onovotny)
  • #627 - Make padding configurable and add padded BuildMetaData
    contributed by Oren Novotny (onovotny)
  • #627 - Update build server documentation contributed by Pascal Berger (pascalberger)
  • #626 - Should not checkout branch on update contributed by Örjan Sjöholm (orjan)
  • #624 - Mixed up branches when running in TeamCity
  • #616 - Remove fixed known issue contributed by Pascal Berger (pascalberger)
  • #615 - Fix effective configuration using minor version bump regex instead of patch regex contributed by Thomas Gillen (TomGillen)
  • #614 - GitFlow Feature Branches not incrementing
  • #611 - GitVersion fails to pull a dymanic repository when on TeamCity
  • #609 - GitVersionTask modifies files even if no change is required

v3.1.1

26 Aug 14:38

Choose a tag to compare

  • #611 - GitVersion fails to pull a dymanic repository when on TeamCity - contributed by Phil Oyston
  • #609 - GitVersionTask modifies files even if no change is required - contributed by Oren Novotny

v3.1.0

22 Aug 07:24

Choose a tag to compare

There are a few nice new features in this release:

  • Added support for Visual Studio Build vNext. For those of you who are not aware, TFS has a new build system. Attached to this release is a zip file. See the docs at http://gitversion.readthedocs.org/en/latest/more-info/build-server-setup/tfs-build-vnext/ for more info.
  • Support for NuGet 3.1 and UWP now.
  • Support for Jenkins
  • Can bump version via commit messages! +semver:breaking or +semver:major will bump major, +semver:minor or +semver:feature will bump minor.

There are also a bunch of other fixes around branch normalisation and dynamic repositories. If you have any issues let us know.

  • #597 - GitVersionTask uses the project name as the namespace name in GitVersionTaskAssemblyInfo instead of default namespace value
  • #596 - Reintegrate develop fix contributed by Jake Ginnivan (JakeGinnivan)
  • #595 - Clarify documentation of variables in TFS build contributed by Pascal Berger (pascalberger)
  • #594 - fix version cache key in msbuild task contributed by Simon Cropp (SimonCropp)
  • #593 - Add generic error message if more than one remote is found contributed by Pascal Berger (pascalberger)
  • #591 - Quote source path contributed by Pascal Berger (pascalberger)
  • #590 - recursive zip for VSO task contributed by Simon Cropp (SimonCropp)
  • #589 - DllNotFoundException in VSO Task
  • #588 - Quote source path contributed by Pascal Berger (pascalberger)
  • #587 - Fix label for updating AssemblyInfos contributed by Pascal Berger (pascalberger)
  • #586 - Integrating Custom VSO Custom Task with GitVersion
  • #585 - Updated Octopus Deploy docs contributed by (sstorie)
  • #583 - Question - Git flow commands for the "release packages" approach to Octopus Deploy?
  • #581 - Restructure headlines & fix some typos in the TFS documentation contributed by Pascal Berger (pascalberger)
  • #580 - Improve TFS Build documentation contributed by Pascal Berger (pascalberger)
  • #579 - Fix command for uploading of the task contributed by Pascal Berger (pascalberger)
  • #578 - Fix gem build contributed by Alexander Groß (agross)
  • #577 - Add note that VSO build version cannot be set atm contributed by Pascal Berger (pascalberger)
  • #576 - Add link to Octopus Deploy in build server overview contributed by Pascal Berger (pascalberger)
  • #574 - use rootNamespace for namespace of generated files contributed by Simon Cropp (SimonCropp)
  • #573 - Load lib git from files contributed by Simon Cropp (SimonCropp)
  • #571 - Vso build step contributed by Jake Ginnivan (JakeGinnivan)
  • #570 - GitVersion of file path where last changed (GitVersion -filter)
  • #568 - Calculation of branch configuration will fail if master and develop is equal and is integrated in a feature branch.
  • #567 - Removed GitFlow BranchType since it's not used any more contributed by Örjan Sjöholm (orjan)
  • #565 - The type initializer for '' threw an exception (Attempted to read or write protected memory)
  • #564 - Build metadata commit count not cleared properly for continuous deplo… contributed by Jake Ginnivan (JakeGinnivan)
  • #563 - Enable GitVersionTask to work with NuGet v3 contributed by Oren Novotny (onovotny)
  • #562 - Support for Visual Studio Online Build vNext - VSO Build Step contributed by Oren Novotny (onovotny)
  • #561 - Create VSO Build vNext Build Step for GitVersion
  • #560 - Add support for VSO agent #546 contributed by Oren Novotny (onovotny)
  • #559 - BuildMetaData and FullBuildMetaData wrong?
  • #558 - AssemblyInfoBuilder namespace should use default namespace as defined in project
  • #556 - Fix missing line breaks and typo in githubflow.md contributed by Thomas Gillen (TomGillen)
  • #555 - Namespace name cannot start with numbers contributed by Cristian Iorga (cristianiorga)
  • #554 - Update myget.md contributed by Xavier Decoster (xavierdecoster)
  • #553 - GitVersion not workig for detached head - TFS Build vNext
  • #552 - Fixed path too long problem. contributed by Dan Lewi Harkestad (baltie)
  • #551 - Support for Jenkins CI contributed by Marijn van der Zee (serra)
  • #550 - NuGet 3.1, GitVersion and Universal Windows Platform(UWP)
  • #547 - Commit Counts and Tags
  • #546 - $(GitVersion_NuGetVersion) does seem to get set when Solution is built using TFS Build vNext
  • #543 - [Improvement] The executable 'git' could not be found
  • #542 - [Improvement] Do complete checkout when updating local branch fails
  • #540 - GitVersionTaskAssemblyInfo.g.cs Namespace GitVersionTask
  • #534 - Add /output props contributed by Marijn van der Zee (serra)
  • #518 - Team Build Usage Documentation
  • #489 - Add support for indicating change severity in commit messages contributed by Thomas Gillen (TomGillen)
  • #488 - Version number is not cached between projects in a solution +fix
  • #313 - Support Jenkins CI +enhancement
  • #175 - Take pull request branch name into account +enhancement

v3.0.2

29 Jul 08:38

Choose a tag to compare

  • Fixed gitversion init crash