Skip to content

dittodhole/dotnet-SemVer.Stamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotnet-SemVer.Stamp

Version your assemblies according to SemVer based on your VCS commit messages.

Build status

Installing

myget.org

PM> Install-Package -Id SemVer.Git.MSBuild -pre --source https://www.myget.org/F/dittodhole/api/v2

PM> Install-Package -Id SemVer.Svn.MSBuild -pre --source https://www.myget.org/F/dittodhole/api/v2

nuget.org

PM> Install-Package -Id SemVer.Git.MSBuild

PM> Install-Package -Id SemVer.Svn.MSBuild

Configuration

You can override following properties with Directory.Build.props:

  • SemVerStamp_BreakingChangeFormat (default: ^perf(\(.*\))*: )
  • SemVerStamp_FeatureFormat (default: ^feat(\(.*\))*: )
  • SemVerStamp_PatchFormat (default: ^fix(\(.*\))*: )
  • SemVerStamp_BaseRevision
  • SemVerStamp_BaseVersion (default: 0.0.0)
  • SemVerStamp_SourcePath (default: $(MSBuildProjectDirectory))
  • SemVerStamp_Active (default: true on release builds, otherwise false)

Developing & Building

> git clone https://github.com/dittodhole/dotnet-SemVer.Stamp.git
> cd dotnet-SemVer.Stamp
dotnet-SemVer.Stamp> cd build
dotnet-SemVer.Stamp/build> build.bat

This will create the following artifacts:

  • artifacts/SemVer.Git.MSBuild.{version}.nupkg
  • artifacts/SemVer.Svn.MSBuild.{version}.nupkg

License

dotnet-SemVer.Stamp is published under WTFNMFPLv3.

Icon

Cyclops by Mike Hince from the Noun Project.