Nerdbank.GitVersioning

Stamp your assemblies, packages and more with a unique version generated from a single, simple version.json file and include git commit IDs for non-official builds.

MIT License

Downloads
25.8K
Stars
1.3K
Committers
98

Bot releases are hidden (Show)

Nerdbank.GitVersioning - v3.5.50-alpha

Published by AArnott almost 3 years ago

Changes:

Fixes:

  • #671: dotnet publish is broken in 3.5.34/37-alpha with MSB4057
  • #664: Fix NRE in GitContext.Create

Enhancements:

  • #667: Add property that can disable the private MSBuild task invocation
  • #666: fix: extend error message in case there are uncommited changes, in order to get the files which are causing the issue
  • #624: Informational version supports four components
  • #603: prepare-release: Uncommitted changes in directory

Others:

  • #663: Drop .NET Core 2.1 support

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.4.244

Published by AArnott almost 3 years ago

Changes:

Fixes:

  • #630: NBGV sets cloudBuild.buildNumber to null, but this violates the JSON schema

Others:

  • #675: Add retry to SetCloudBuildVariable method in VisualStudioTeamServices
  • #669: Suppress cloudBuild.buildNumber: null being written for nbgv prepare-release

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.5.37-alpha

Published by AArnott about 3 years ago

Changes:

Fixes:

  • #588: nbgv install broken
  • #658: Version height calculated differently in 3.4 with new git backend

Others:

  • #661: Revise the preprocessor symbols we use
  • #659: Count merge commits in path filtered height if any parent changed it
  • #660: Fix nbgv dependencies
  • #644: Apply is null pattern and analyzer

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.4.240

Published by AArnott about 3 years ago

Changes:

Fixes:

  • #588: nbgv install broken
  • #658: Version height calculated differently in 3.4 with new git backend

Others:

  • #659: Count merge commits in path filtered height if any parent changed it
  • #660: Fix nbgv dependencies
  • #644: Apply is null pattern and analyzer

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.5.34-alpha

Published by AArnott about 3 years ago

Changes:

Fixes:

  • #615: Versions after v3.3.37 doesn't work on Windows 7
  • #637: Inconsistent file version generation between big and little endian CPU architectures
  • #648: Fixes build with msbuild -graph -isolate switches

Enhancements:

  • #653: Add Cake alias for the "cloud" command
  • #598: Add SpaceAutomation cloud build support

Others:

  • #657: Retarget the nbgv tool against netcoreapp3.1 now that netcoreapp2.1 is out of service
  • #650: Document considerations for building inside a container
  • #649: Drop .NET Core 2.1 SDK support
  • #638: Always generate commit ID component of version as big endian
  • #611: Fix spelling error
  • #608: Add cake-addin tag to Cake.GitVersioning NuGet package
  • #599: Abort prepare-release command when version on current branch is not incremented

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.4.231

Published by AArnott about 3 years ago

Changes:

Fixes:

  • #634: Fix bugs with > 2 GB pack files

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.4.228

Published by AArnott about 3 years ago

Changes:

Fixes

  • #584: IOException when building from mapping pack files into memory

Other work:

  • #632: Run 32-bit tests
  • #633: Update libgit2sharp to 0.27.0-preview-0102

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.4.220

Published by AArnott over 3 years ago

Changes:

Fixes:

  • #615: Versions after v3.3.37 doesn't work on Windows 7
  • #619: GitException thrown in ZLibStream

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.4.216

Published by AArnott over 3 years ago

Changes:

Fixes:

  • #602: Regression: Nerdbank.GitVersioning.GitException: The commit 0000000000000000000000000000000000000000 was not found in this repository.

Others:

  • #613: Fix resolving HEAD reference if it's a packed ref
  • #614: Switch tests from 7z to zip and enable test
  • #125: Unstable test: Submodule_RecognizedWithCorrectVersion

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.4.205

Published by AArnott over 3 years ago

Changes:

Fixes:

  • #587: v3.4 regressed version height calculation involving path filters

Others:

  • #593: Add 3rdPartyNotices to package
  • #606: Path filters: Recurse into directories if child entries may be included by filters

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.4.203

Published by AArnott over 3 years ago

Changes:

Fixes:

  • #589: FileNotFoundException for System.Memory when using Visual Studio Build Tools 2017

Others:

  • #600: Don't require a trailing \n character at the end of the alternates file
  • #596: Improve alternate parsing
  • #597: Don't load git packs if the .pack file is missing

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.4.194

Published by AArnott over 3 years ago

Changes:

Fixes:

  • #578: Regression - 3.4.190 no longer works with submodule
  • #580: Regression - 3.4.190 fails to parse version.json file

Others:

  • #582: Fix discovery of git directories within submodules
  • #581: Avoid writing garbage bytes to read blobs in managed git engine

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.4.190

Published by AArnott over 3 years ago

Changes:

Important: The 3.4 release replaces libgit2sharp with a managed git implementation for most operations, allowing use with all linux distros for which a .NET runtime exists. Learn more about this and switching back to the libgit2sharp implementation in our 3.4.142-alpha release notes.

Fixes:

  • #573: Regression: projectDirectory cannot be an empty string

Enhancements:

  • #567: Update to System.CommandLine v2

Others:

  • #562: Require signed dependency packages
  • #576: Bump y18n from 3.2.1 to 3.2.2 in /src/nerdbank-gitversioning.npm
  • #575: Updated Cake.Core
  • #574: Produce absolute path per api doc when reading version file
  • #559: Auto-completions do not work

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.4.179-rc

Published by AArnott over 3 years ago

Changes:

Enhancements:

  • #565: Allow custom fields to be added to the generated ThisAssembly class

Others:

  • #563: Update LKG
  • #556: Added retries to SetCloudBuildVariable for GitHubActions

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.4.165-alpha

Published by AArnott almost 4 years ago

Changes:

Fixes:

  • #553: Git worktrees fail with new managed Git implementation

Others:

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.4.161-alpha

Published by AArnott almost 4 years ago

Changes:

Fixes:

  • #544: Cake.GitVersioning failing with "Could not load file or assembly 'PInvoke.Kernel32'"
  • #546: Don't treat 40-char references as object IDs
  • #547: Intermittent out-of-memory errors with the 3.4.153-alpha release in Visual Studio

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.4.153-alpha

Published by AArnott almost 4 years ago

Changes:

Fixes:

  • #533: nbgv install adds PackageReference even to vcxproj projects, which breaks their build

Enhancements:

  • #539: Update libgit2sharp to 0.27.0-preview-0096

Others:

  • #542: GitPackMemoryCache: Don't have multiple callers reuse the same stream
  • #534: Exclude vcxproj from nbgv install impact

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.4.142-alpha

Published by AArnott almost 4 years ago

Changes:

Enhancements:

  • #521: Add a managed Git implementation. Which should hopefully end most issues with building on various linux distros and comes with a 4-10X perf improvement.
  • #92: Improve error message when running on a shallow clone

The managed git implementation is used by default for all read-only scenarios (e.g. builds, nbgv get-version). Libgit2 is used internally for scenarios that change git (e.g. nbgv prepare-release, nbgv tag).

If you encounter a regression in NB.GV due to our new managed git backend, please file an issue!
While waiting for a fix you can disable the managed git backend and switch back to libgit2 by setting the NBGV_GitEngine environment variable to LibGit2.

Huge thanks to @qmfrederik and @filipnavara for this managed git backend contribution!

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.3.37

Published by AArnott about 4 years ago

Changes:

Enhancements:

  • #516: Github Actions: Use Environment File

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.3.33-rc

Published by AArnott about 4 years ago

Changes:

Fixes:

  • #515: Fix msbuild task handling of ProjectPathRelativeToGitRepoRoot

Enhancements:

  • #512: Improve nbgv get-commits <version> perf
  • #511: Reset versionHeightOffset in nbgv prepare-release

Others:

  • #513: Reducing CPU consumption when calculating git versions by not checkin…

This list of changes was auto generated.

Package Rankings
Top 1.99% on Npmjs.org
Badges
Extracted from project README
Build Status NuGet package NuGet downloads NPM package Join the chat at https://gitter.im/AArnott/Nerdbank.GitVersioning
Related Projects