SemVer 2.0.0 support

BaggsBaggs Posts: 4 Bronze 1
edited September 12, 2016 8:58AM in DLM Automation
Hi

I tried to create NuGet package in TeamCity using "Redgate DLM Automation Build" step with package version set to:
1.4.11-beta.0
which is SemVer 2.0.0 compliant version number. Unfortunately I got this error message:
Parsing commandline options failed with error: Package version: 1.4.11-beta.0 is not in a valid format. See www.red-gate.com/sqlci/packageversion for more details
It's because of the dot in prerelease tag.

Next step in my process is uploading package to Octopus Deploy's internal NuGet feed (which already supports SemVer 2.0.0) and updating databases using DLM Automation templates.

Thing to note is that NuGet 3.5.0 (currently in rc state) is going to support SemVer 2.0.0. It's explained on one of the NuGet's devs blog:
http://emgarten.com/2016/08/09/semver-2-0-0-with-nuget-3-5-0-rc1/

Any chance that DLM Automation could support SemVer 2.0.0?

Comments

Sign In or Register to comment.