For dnx/dnu-based builds (#647), I'm required to set the DNX_BUILD_VERSION environment, which will replace the placeholder asterisk in project.json. An DNX_BUILD_VERSION=unstable1234 with a 1.0.0-* setting would result in a 1.0.0-unstable1234 build and NuGet package.
In order to circle around incompatibilites with dnx-based, GitVersion and v2-based NuGet feeds, the prerelease and padded prerelease part (e.g. unstableXXXX of LegacySemVerPadded) is required as a separate export.
Alternatively a GitVersion.DnxBuildVersion could be exposed.