Skip to content

Releases: GitTools/GitVersion

v3.6.1

17 Jul 03:15
Compare
Choose a tag to compare
  • #892 - Fixed issues #863 and #870: invalid cache key computation and config file location contributed by Sergio Rykov (sergiorykov)
  • #949 - Bunch of build/deployment script fixes contributed by Jake Ginnivan (JakeGinnivan)
  • #945 #925 - Fix dead dynamic repositories documentation link contributed by Pascal Berger (pascalberger)
  • #944 - Set verbosity to minimal for all build environments contributed by Pascal Berger (pascalberger)
  • #943 - Fix tfs task build contributed by Pascal Berger (pascalberger)

Commits: a3c2adf...35c696a

v3.6.0

10 Jul 23:44
Compare
Choose a tag to compare

This is a pretty big release with a HEAP of fixes. It has taken a little longer than we would have liked to get it out, mainly due to getting our Linux/Mac builds green.

We will be pushing a 4.0.0 build very shortly which will have some good GitFlow support improvements.

  • #933 - Added branches in default config to GitVersion init branch list contributed by Jake Ginnivan (JakeGinnivan)
  • #931 - Fixed typo contributed by Jake Ginnivan (JakeGinnivan)
  • #930 - When new assemblyinfo attributes are appended, add a linefeed after contributed by Jake Ginnivan (JakeGinnivan)
  • #928 - Add final newline when adding lines to AssemblyInfo.cs
  • #927 - Add config wizard changes to support private repositories on Appveyor contributed by Jon Roberts (bigjonroberts)
  • #926 - Can't find the .git directory in C:\TeamCity\buildAgent\work\d8b51bbe303335d5
  • #922 - Instruct Travis to build on OS X contributed by Asbjørn Ulsberg (asbjornu)
  • #921 - Exclude assemblyversion contributed by Oren Novotny (onovotny)
  • #920 - Gracefully handle IOException on concurrent cache writes contributed by Simon Ejsing (simonejsing)
  • #919 - Improved logging in GetBranchesContainingCommit contributed by Asbjørn Ulsberg (asbjornu)
  • #918 - GitVersion concurrency issue when accessing cache
  • #917 - Don't swallow exceptions from LibGit2Sharp contributed by Asbjørn Ulsberg (asbjornu)
  • #915 - Improve the language discovery heuristics of AssemblyInfoBuilder contributed by Asbjørn Ulsberg (asbjornu)
  • #914 - Fixed issue with Dynamic Repostitories not working contributed by Asbjørn Ulsberg (asbjornu)
  • #913 - Update AssemblyFileVersion only
  • #911 - Fix to stop GitVersion from introducing the remote name into branch name contributed by (bdbehrho)
  • #908 - Showconfig throws in Git Bash on Windows contributed by Asbjørn Ulsberg (asbjornu)
  • #906 - Fix tag-number-pattern and useBranchName configuration options for ContinuousDeployment mode contributed by Simon Ejsing (simonejsing)
  • #905 - GitVersion /showconfig throws exception in Git Bash
  • #902 - Consecutive pushes to a pull request branch results in conflicting nuget versions
  • #898 - Initial Cake Build Script contributed by Gary Ewan Park (gep13)
  • #897 - Issue: #871 Fixing at least some occurences of error CS0579: Duplicate 'AssemblyVersion' attribute contributed by (Halling69)
  • #896 - Pull Request from other user, not building branch
  • #893 - Typo fix. contributed by John Gietzen (otac0n)
  • #891 - Fody Caseless corrupts GitVersionCore on OSX
  • #890 - Exclude LibGit2Sharp from ILRepack in NuGet.CommandLine contributed by David Nelson (eatdrinksleepcode)
  • #885 - msbuild task fails when no AssemblyInfo file is present
  • #884 - TFS vNext build step yaml
  • #882 - AssemblyInfo update fixes contributed by Asbjørn Ulsberg (asbjornu)
  • #880 - Removed call to Write-ChocolateySuccess from chocolatey PS scripts. contributed by Uri Goldstein (urig)
  • #876 - Fix Travis build contributed by Asbjørn Ulsberg (asbjornu)
  • #874 - Fixed issue with Dynamic Repostitories not working contributed by Ruben Mamo (rubenmamo)
  • #869 - GitVersion init settings for private github repos with Appveyor +enhancement
  • #868 - GitVersion.Portable crashes on branch "development" GitVersion.yml has config for a branch named "development".
  • #858 - Update AssemblyInfo files failes for *.vb files
  • #857 - BranchName set incorrectly
  • #854 - GitVersion.CommandLine does not work on OS X
  • #835 - gitversion.yml @ TFS Build vNext (VSTS)
  • #810 - Running GitVersion on Kudu
  • #630 - [Feature Request] Allow creation of source file containing assembly version information
  • #515 - GitVersion.Portable uses deprecated Write-ChocolateySuccess +fix

Commits: 93f911b...2a6448d

v3.5.4

18 May 19:10
Compare
Choose a tag to compare

This fixes a regression introduced in 3.5.3 where command line arguments were not parsed correctly.

  • #866 -/updateassemblyinfo stopped working with 3.5.3 contributed by Pascal Berger (pascalberger)

v3.5.3

13 May 04:27
Compare
Choose a tag to compare

This fixes a number of bugs, and actually should have been a minor release because it has a new feature. You can now ignore part of history when running gitversion. This is handy when GitVersion is calculating the wrong version because of a badly named branch or something.

  • #860 - NullReferenceException on missing .git folder contributed by Asbjørn Ulsberg (asbjornu)
  • #859 - Update AssemblyInfo files checkbox does not work
  • #856 - Working Travis build contributed by Asbjørn Ulsberg (asbjornu)
  • #855 - TFS build task incorrectly setting updateAssemblyInfoFlag
  • #853 - Ugly NullReferenceException if not in a git repo
  • #852 - NullReferenceException running GitVersion after branching off
  • #851 - Allow ignoring part of history when calculating version (issue #538) contributed by Christopher Leigh (Tungsten78)
  • #850 - Working Travis build contributed by Asbjørn Ulsberg (asbjornu)
  • #849 - Reduce depth for JSON conversion to maximum allowed 100 contributed by Pascal Berger (pascalberger)
  • #847 - Fix updateAssemblyInfo argument in VSTS task contributed by Pascal Berger (pascalberger)
  • #846 - AssemblyInfo are updated even if check box is not selected +fix
  • #844 - Version 3.5 crashes Visual Studio
  • #843 - Don't add extra debug info for /updateassemblyinfo +fix
  • #842 - VSO GitVersion breaks MSBuild
  • #841 - VSTS fails when calling the GitVersion task (System.DllNotFoundException: Unable to load DLL 'git2-381caf5')

Commits: 22d265d...7b53187

v3.5.2

26 Apr 17:12
Compare
Choose a tag to compare

Fixed crash when installing the GitVersionTask.

v3.5.1

26 Apr 11:34
Compare
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
Compare
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
Compare
Choose a tag to compare
Switched publishers

v3.4.0

31 Jan 01:56
Compare
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
Compare
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