How to generate NuGet package version as per the build format with suffix
SR123
Posts: 5 New member
I was using Redgate SQL change automation build and Publish tasks in TFS. How can we produce NuGet package version as $(MajorVersion).$(MinorVersion)$(rev:.r).$(PatchVersion) -Main(ex: TestDB.1.0.0-Main.nupkg. I want create a Release octopus deploy with that format.
Thanks
Thanks
Answers
You should then be able to pass in TFS / Azure DevOps variables or project variables into the naming.
Pipelines variables: Define variables - Azure Pipelines | Microsoft Docs and pre-defined environment variables: Predefined variables - Azure Pipelines | Microsoft Docs