I would like to create a semantically versioned nupkg after ci process on TFS. The nupkg should be as shown below.
MSVersioningSample.1.0.7-ci-20170926-184446.nupkg
But, when I decided it is a release version. I would like to rename nupgk and republish it to nuget feed as the release version.
MSVersioningSample.1.0.7.nupkg
When I rename nupkg file and publish it, its version number still stay same and conflict occurs during publish.
Then, I realized. There is a .nuspec file inside the nupkg file and I have to change version number in the nuspec file.
My question is, How could I edit nuspec file in nupkg with (powershell) script?