Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 61 commits into from
Nov 22, 2024

Conversation

darrenge
Copy link
Contributor

@darrenge darrenge commented Nov 15, 2024

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

…Garnet Release step and actual Push to Nuget.org
…e Push to Nuget and Push to GH Release disabled. Also Garnet Library pack uses .nuspec instead of dotnet pack
… seeing if it works when the BuildNumber is updated
Directory.Build.props Outdated Show resolved Hide resolved
@darrenge darrenge merged commit c84c8c7 into main Nov 22, 2024
18 checks passed
@darrenge darrenge deleted the darrenge/ReleaseOfGarnetServer branch November 22, 2024 02:42
@github-actions github-actions bot locked and limited conversation to collaborators Jan 21, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove duplicated garnet-server version
3 participants