Skip to content

Conversation

@darrenge
Copy link
Collaborator

@darrenge darrenge commented Mar 10, 2025

Request from a customer to add Garnet.Worker to the win-x64-based-readytorun.zip file. The main change was to the win-x64-based-readytorun.pubxml where I added the Garnet.Worker files to the "Service" folder.

The other change was to the release pipeline but that was mainly to put a check there that the actual push to Nuget and GitHub releases can only happen on Main. Can run everything else on another branch, but the final push can only happen on main. Just an extra safe guard that non main branches aren't being released.

The binaries ps1 file was specific to Garnet.Server (extra checks to double check Garnet.Server) so just small modification there

@darrenge darrenge requested a review from badrishc March 10, 2025 20:40
@darrenge darrenge marked this pull request as ready for review March 10, 2025 21:19
@badrishc badrishc requested a review from Copilot March 12, 2025 19:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the release pipeline to support the inclusion of Garnet.Worker in the win-x64-based-readytorun.zip and adds an additional safeguard so that the final push to NuGet and GitHub releases only occurs from the main branch.

  • Updated comments to clarify branch conditions for running release tasks.
  • Added conditions to the GitHubRelease and NuGet push tasks to restrict execution to the main branch.
  • Introduced a top-level pool definition and a job-specific pool definition with a specified vmImage.
Comments suppressed due to low confidence (1)

.azure/pipelines/azure-pipelines-external-release.yml:2

  • Fix the phrase 'a the GitHub Release' to a correct phrasing, such as 'to generate the GitHub Release'.
# NOTE: Before running this pipeline to generate a the GitHub Release and new nuget packages, update the VersionPrefix value in Version.props file

@darrenge darrenge merged commit 622bbee into main Mar 13, 2025
26 checks passed
@darrenge darrenge deleted the darrenge/GarnetWorkerRelease branch March 13, 2025 17:53
@github-actions github-actions bot locked and limited conversation to collaborators May 13, 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.

3 participants