Options

TeamCity plugin - prerelease tag 20 characters limit

I run "Redgate SQL Change Automation Build" step in TeamCity using plugin "Redgate SQL Change Automation" version 5.0.1.

When my build.number has prerelease tag longer than 20 characters I get this error:
Cannot validate argument on parameter 'PackageVersion'. '2.5-alpha.feature-my-long-pre-release-tag' is not in a valid NuGet version format (eg 3.2.1, 3.2.1-beta1). The pre-release string must not contain more than 20 characters.
According to https://github.com/NuGet/Home/issues/2735 20 characters limit was removed in Nuget 4.0.0.

Thanks
Piotr
Tagged:

Answers

  • Options
    Hi Piotr,

    Thanks for bringing this to light. I'll investigate this and get back to you with further instruction.

    Kind regards,

    Pete Ruiz
  • Options

    Hi Piotr,


    Thanks for your patience on this one. We've logged an enhancement in our bug tracking system to update the code that includes the 20 character limit which can be referenced by SCA-2624.


    I will keep you updated on how this case progresses. Thanks again from sharing this and sorry for any inconvenience.


    Kind regards,


    Pete Ruiz


Sign In or Register to comment.