Skip to content

Port prepare release workflow#209

Merged
tig merged 2 commits into
developfrom
tig/port-prepare-release-workflow
May 21, 2026
Merged

Port prepare release workflow#209
tig merged 2 commits into
developfrom
tig/port-prepare-release-workflow

Conversation

@tig
Copy link
Copy Markdown
Member

@tig tig commented May 21, 2026

Stable versions could be published manually to NuGet without creating the matching git tag or GitHub Release. This ports the Terminal.Gui prepare/finalize release flow so stable releases go through a release PR and cannot bypass the tag/release path.

Summary

  • Add a manual Prepare Release workflow that creates a release/vX.Y.Z branch from develop and opens a PR to main.
  • Add a Finalize Release workflow that runs when a release/* PR is merged, creates the annotated tag and GitHub Release, deletes the release branch, and opens a back-merge PR to develop.
  • Remove manual workflow_dispatch publishing from the NuGet release workflow so develop pushes and v* tags are the only publish triggers.
  • Update release documentation in CLAUDE.md and Directory.Build.props.

Notes

This follows the TG model and expects the existing RELEASE_PAT secret to be available so workflow-created tags can trigger the NuGet publish workflow.

Add TG-style prepare/finalize release workflows so stable releases are created through a release PR, then finalized with a tag, GitHub Release, and back-merge PR. Remove manual stable publishing from the NuGet release workflow so releases cannot bypass tags.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 839e57e965

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/finalize-release.yml Outdated
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@tig tig merged commit 5e0bf6b into develop May 21, 2026
8 checks passed
@tig tig deleted the tig/port-prepare-release-workflow branch May 21, 2026 18:23
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