microsoft / garnet

Garnet is a remote cache-store from Microsoft Research that offers strong performance (throughput and latency), scalability, storage, recovery, cluster sharding, key migration, and replication features. Garnet can work with existing Redis clients.
https://microsoft.github.io/garnet/
MIT License
10.37k stars 525 forks source link

Changes to Release pipeline to include GarnetServer nuget and other changes to the process #809

Closed darrenge closed 17 hours ago

darrenge commented 6 days ago

Sizable PR with the two main goals: 1) Getting GarnetServer released as separate nuget package 2) Have only one place where we maintain a version number for our release.
A secondary goal was to get away from .nuspec and use dotnet pack to create the nuget packages.

Directory.Build.props - this gives us the single place for the version as well as the shared meta data of the nuget packages

azure-pipelines-external-release.yml - uses dotnet pack; packs GarnetServer; no longer has the hard coded build name that needed to be updated

extract-version.ps1 - gets build name \ version from Directory.Build.props and sets version for yml and updates build number

Garnet.host.csproj - csproj that gets built that provides all the files for the Microsoft.Garnet nuget package. Modified so dotnet pack can be used instead of nuget pack

GarnetServer.csproj - mostly just moving things out to the shared location of Directory.Build.props

Garnet.sln - deleted the Garnet.nuspec as it is no longer needed since using dotnet pack

This will fix issue #793