Skip to content

[Build][CI] Delete a release by its git reference - #115

Merged
Nice3point merged 3 commits into
developfrom
build/delete-release
Sep 28, 2026
Merged

Nice3point merged 3 commits into
developfrom
build/delete-release

Conversation

@Nice3point

Copy link
Copy Markdown
Owner

Deletes the NuGet packages of a release by the versions its tag records.

What changed

  • The Delete release workflow runs on dispatch and takes the release tag as the ref input.
  • The deletion command of the build is delete, in place of clean-nuget.
  • The deleted versions come from Build:Versions of build/appsettings.json at the given reference, read through git show without a checkout.
  • Delete:Ref holds the reference, and the workflow sets it from the input.

Where to look

  • A tag older than the ModularPipelines build has no build/appsettings.json. The run fails on git show and deletes nothing.

How verified

  • dotnet build -c Release of the build project: zero errors.
  • git show 2027.0.0-preview.5.20260329:build/appsettings.json returns the versions of that release.
  • Not covered: a run against nuget.org.

@Nice3point
Nice3point merged commit 98bb3e5 into develop Sep 28, 2026
1 check passed
@Nice3point
Nice3point deleted the build/delete-release branch September 28, 2026 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant