How can we help you today? How can we help you today?

SemVer 2.0.0 support

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?
Piotr
0

Comments

2 comments

Add comment

Please sign in to leave a comment.