-
Notifications
You must be signed in to change notification settings - Fork 48
Publishing to nuget
Daniel Svensson edited this page Jan 11, 2024
·
2 revisions
- Ensure changelog is updated (can be done after GitHub release)
- Create a GitHub release
- Wait for tag do be built in Azure DevOps
-
Publish directly from devops
- create a "Release" based on the build (you must be logged in to se the option)
- Choose relevant option
- "OpenRiaServices.All nuget" - publish all? nugets
- "OpenRiaServices.Client" - Contains client parts and client code generation (EXCEPT T4 templates)
-
Manually upload to nuget.org
- Download the nuget packages from the build artifacts
- Login to nuget.org and upload the packages manually
-
Publish directly from devops
- Ensure changelog is updated (can be done after GitHub release)
- Create a GitHub release
- Wait for tag do be built in Azure DevOps and download the nuget packages from the build artifacts
- Edit the .nuspec file so that dependencies are the desired (latest published to nuget) Either: a. Open .nuget in 7-zip or similar editor and edit the .nuspec file "in place" b. Rename .nuget file to .zip,, extract, modify file, zip and renamve back to .nuget
- Open the .nuget file in Nuget Package Explorer and verify that the dependencies and other metadata looks fine
- Login to nuget.org and upload the package manually