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 visible (Hide)

Nerdbank.GitVersioning - v3.3.25-alpha

Published by AArnott about 4 years ago

Changes:

Enhancements:

  • #510: Add node.js bin scripts to nb-gv NPM package

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.3.22-alpha

Published by AArnott about 4 years ago

Changes:

Enhancements:

  • #508: Invoke GetBuildVersion MSBuild task only once per project (or per repo)
  • #507: Perf: Cache JSON parse results while computing height
  • #494: NuGet.Config and 'source' options for detection of latest stable version
  • #506: Add --metadata option list to nbgv commands
  • #502: Allow TeamCity to provide tag refs

Fixes:

  • #497: NBGV Fails in GitHub actions PRs
  • #496: Use UtcTicks instead of Ticks to fix GitCommitDate

Others:

  • #501: Add name of cloudbuild environment variable for TeamCity

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.2.31

Published by AArnott about 4 years ago

Nothing new since the last prerelease

Nerdbank.GitVersioning - v3.2.27-beta

Published by AArnott about 4 years ago

Changes:

Enhancements:

  • #483: Add support for Pop!_OS

Others:

  • #486: Add JSON output option to 'prepare-release' command
  • #484: Get NB.GV building on Linux

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.2.7-beta

Published by AArnott over 4 years ago

Fixes:

  • #466: Could not load file or assembly Microsoft.DotNet.PlatformAbstractions

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.2.5-beta

Published by AArnott over 4 years ago

Changes:

Enhancements:

  • #472: Allow suppressing ThisAssembly class generation via EmitThisAssemblyClass msbuild property

Others:

  • #476: Add Arch Linux runtime ID
  • #473: [versionJson.md]: fix missed comma
  • #470: Set BuildingRef as output property from GetBuildVersion

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.1.91

Published by AArnott over 4 years ago

Changes:

Fixes:

  • #471: Fix StackOverflowException that can break a build

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.1.89

Published by AArnott over 4 years ago

Fixes:

  • #469: Avoid stack overflow by doing breadth first search without recursion
  • #465: pathFilters paths should be relative to the version.json
  • #451: Nuget Package Version and nbgv cloud NBGV_NuGetPackageVersion differ

Changes:

  • #464: Update NPM dependencies
  • #463: Bump acorn from 5.7.3 to 5.7.4 in /src/nerdbank-gitversioning.npm
  • #460: Link Code of Conduct

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.1.74

Published by AArnott over 4 years ago

Changes:

  • #457: Fix bad libgit2-*.so path in nuspec
  • #417: Visual Studio Code/OmniSharp on Ubuntu 18.04: DllNotFoundException
  • #170: Docs should include assemblyVersion JSON object option, and note to commit file

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.1.71

Published by AArnott over 4 years ago

Changes:

Fixes:

  • #452: .NET Standard 1.x project build break from ThisAssembly's use of ExcludeFromCodeCoverage

Enhancements:

  • #445: Changing the hardcoded g prefix

This list of changes was auto generated.

Nerdbank.GitVersioning - v3.1.68

Published by AArnott over 4 years ago

Fixes

  • #426 Nerdbank.GitVersioning triggers Razor compilation without any Razor files present

Enhancements

  • #424 Add IsPublicRelease and IsPrerelease properties to ThisAssembly class
  • #399 Add path filtering support to version.json
  • #434 Cake plugin on .NET CoreCLR support
Nerdbank.GitVersioning - v3.0.50

Published by AArnott over 4 years ago

Enhancements

  • #375 Add support for GitHub Actions v2
Nerdbank.GitVersioning - v3.0.48

Published by AArnott over 4 years ago

Fixes

  • #152 Git worktrees support
  • #373 $schema gets removed from version.json
  • #384 A commit from the future breaks nbgv cloud variables

Enhancements

  • #407 Add support for ARM64 variants of Debian, Ubuntu
Nerdbank.GitVersioning - v3.0.28

Published by AArnott over 4 years ago

Fixes

  • #404 WPF: Build fails in wpftmp.csproj when ThisAssembly is used
Nerdbank.GitVersioning - v3.0.26

Published by AArnott over 4 years ago

Fixes

  • A commit from the future breaks nbgv cloud variables #384
Nerdbank.GitVersioning - v2.3.186

Published by AArnott about 5 years ago

  • Fix nbgv get-version to respect the PublicRelease environment variable #371
Nerdbank.GitVersioning - v3.0.25

Published by AArnott about 5 years ago

  • Fix nbgv get-version to respect the PublicRelease environment variable #371
Nerdbank.GitVersioning - v3.0

Published by AArnott about 5 years ago

Potential breaking change: The 3.0 version introduced better support for version height calculation when 3 integers are specified in the version.json file. When upgrading from Nerdbank.GitVersioning 1.x or 2.x to 3.x, commit the upgrade then test your version number to verify that the version is larger than it was before and as you expect. Use the versionHeightOffset property in your version.json file to make any necessary adjustments.

Nerdbank.GitVersioning - v2.3

Published by AArnott almost 6 years ago

  • #260 Remove the g prefix where git commit IDs appear except where required for NuGet package versions that do not opt into semver v2
  • #196 Add ThisAssembly.GitCommitId property
  • #228 Fix Windows builds that have just net46 runtime installed (nothing newer)
  • Add support for Fedora (#263), CentOS (#219), and others
  • #250 #251 Improved error messages when invalid version.json files are encountered
  • #249 Improve nbgv CLI tool usage docs
  • #248 Fix ps1 scripts included in nuget package
  • #236 Use semver v2 for NPM package versions
  • #149 Improve ThisAssembly code gen support for F# projects
Nerdbank.GitVersioning - A few minor fixes and enhancement

Published by AArnott almost 6 years ago

  • Add a few properties for easier processing at the command line
  • Remove names from regex capture groups in version.schema.json to fix errors that VS Code might report
  • Pack additional copies of osx and linux libraries under MSBuildFull
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