Nuget Feed - Stop overwriting if version does not change
Hi, If two builds, one after another, on the same branch result in a nuget each with the same version, which one is made available on the nuget feed? These would be builds triggered by different changesets.
I believe it used to be that there was no overwriting going on, so if proj.1.0.0.0.nupkg was made available on the nuget feed, it could NEVER get overwritten by subsequent builds.
This behaviour makes sense, as if you can just overwrite the nuget feed then the versioning becomes redundant.
Can I have some clarity on this, as well as how to turn 'overwrite' off if it isn't by default.
Please sign in to leave a comment.
Hi,
what TeamCity version do you use and which build step configured for package publishing? Since version 2017.1.x TeamCity doesn't allow to publish the same package version by default (please check the issue in YouTrack and the related page in our documentation).