Releases: GitTools/GitVersion
v3.6.2
This version fixes a regression with the cache key calculation in v3.6.0. When using the MSBuild tasks with lots of projects you would see a greatly increased build time because each project would calculate the version multiple times.
Thanks to @tofutim for the fix and @DanielRose @rubenmamo @tpluscode @asbjornu @Martin-Andersen for contributing to the discussions to help get it fixed.
Version is incremented twice if the base version commit also has an explicit semver message was also fixed by #975 (thanks @MikeLarah)
v4.0.0-beta.1
v4 has two major changes, there likely will be a few issues which fall out of these changes hence the beta.
1. Develop tag changed from unstable to alpha
In GitFlow the default tag on develop
has changed from unstable
to alpha
. It also more aggressively bumps, so develop. An example is below (the final tag is missing, check the docs at GitFlow examples for up to date examples
2. Introduced Mainline development mode
One of the current hard requirements for GitVersion is that you tag when you release. This is due to GitVersions predictive nature, you need to communicate back to GitVesion that you have released something which was built, then it will increment.
Mainline mode lets GitVersion imply a release from any merge or commit to master
. The version in this initial beta is an initial proof of concept, it doesn't have the test coverage the other modes have. So if you find an issue please submit a pull request with a test demonstrating your issue. That way we can improve this mode and get better test coverage at the same time.
See docs at versioning modes
- #958 - Update documentation to use alpha prefix contributed by Pascal Berger (pascalberger)
- #950 - Mainline development mode contributed by Jake Ginnivan (JakeGinnivan)
- #832 - Bump develop when release branch created contributed by Jake Ginnivan (JakeGinnivan)
- #695 - Increment "develop" version when branching release
Commits: 11d48a7...22e0342
v3.6.1
- #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
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
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
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
Fixed crash when installing the GitVersionTask.
v3.5.1
Fixed broken VSTS task. The libgit2 binaries moved and they were not being included in the task anymore.
v3.5.0
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
Switched publishers