We’re setting the assembly version in our DLL manually. For example:
At the same time, we would like to increment the build number automatically (no human intervention) each time we push a new NuGet package.
How might we do this?
Thanks for reaching out!
That question actually falls under the umbrella of the build server, and not of Octopus per se. The process of setting up incremental builds will change depending if you are using TFS/VSO, TeamCity, Jenkins or other build server technologies.
What I don’t understand is what do you mean with
increment the build number automatically each time we push a new NuGet package. The Nuget package usually gets created during the build. So why would pushing a Nuget package (to where?) trigger a build?
Perhaps you can explain that sentence a bit more so we can give you a hand?