Closed aslotte closed 4 years ago
This article may be a good starting point: https://cloudblogs.microsoft.com/industry-blog/en-gb/technetuk/2019/06/18/perfecting-continuous-delivery-of-nuget-packages-for-azure-artifacts/
This is also a good one: https://intellitect.com/azure-devops-nugets/
It may make sense that our local PR builds push to GitHub Packages and our release builds goes to nuget.org
Background
We need to automate the build and deployment of our nuget packages. Each package needs to have a consistent build number.
We should probably run the dotnet pack command with versioning after each CI build (we can have different versions for PR builds vs master builds).
The deployment to nuget.org should most likely be a separate workflow file as it should be manually triggered once we have a release.