I'm using GitVersion to do semantic versioning of a .net product I'm building. During the work on a specific version I typically deploy several release candidates to the "dev" and "staging" environments.
When I try to deploy via Octopus Deploy it turns out that all release candidates share the same Nuget package version. So Octopus plays nice with the first release candidate but refuses to accept the following RCs.
What is the best way to make the Nuget package version reflect the difference between release candidates so that Octopus accepts them to its Nuget store?
Additional details:
- I am employing GitHub Flow so only master and feature branches and deployments are always from master.
- My build tool is TeamCity.