sdk icon indicating copy to clipboard operation
sdk copied to clipboard

Ensure CLI version is SemVer compatible

Open schellap opened this issue 10 years ago • 4 comments

Make sure CLI's release versions are "1.0.0" and not "1.0.0-001571", i.e., without the prerelease or the build tags.

As per the shared FX spec for SDK, the host is supposed to choose the latest production CLI when a CLI version cannot be inferred from a global.json probe. The keyword here is production. The host needs a way to know to pick a production release in a directory.

Example:

- dotnet\
    - SDK\
        + 1.0.0\
        + 1.0.1\
        + 1.0.2-001573\

The host will choose 1.0.1 unless a global.json specified otherwise. The host chose 1.0.1 because it did not have prerelease or build tags and is the latest version.

schellap avatar Mar 04 '16 02:03 schellap

@piotrpMSFT, PTAL, the CLI versioning contract for the host.

Cc @gkhanna79

schellap avatar Mar 04 '16 21:03 schellap

As we approach RTW we'll need to ensure CLI has a pretty version [1.0.0!]

TheRealPiotrP avatar Jan 19 '17 09:01 TheRealPiotrP

/cc @livarcocc

TheRealPiotrP avatar Jan 19 '17 09:01 TheRealPiotrP

We have a pretty version being produced and will put it in the right places.

livarcocc avatar Feb 27 '17 19:02 livarcocc