Skip to content

Expose the prelease part of SemVerPadded #651

@sunsided

Description

@sunsided

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions