All notable changes to this project will be documented in this file. This project uses Semantic Versioning.
- Support for the
env!
macro was added by generatingGITVERSION_...
environment variables during the build.
- The
GitVersion
struct now has apub const fn new()
function. - The generated
GitVersion
now implements theDefault
trait. - Added member documentation to the intermediate and generated structs.
- The
dotnet_gitversion_build::build()
now returns the intermediateGitVersion
instance. - The generated
GIT_VERSION
is now apub const
. - Some NuGet related fields were marked with the
#[deprecated]
attribute to discourage their use in favor of the SemVer fields.
- Initial release providing the
dotnet_gitversion_build::build()
function. - The generated file contains a
pub static GIT_VERSION
instance.