Skip to content

Add interactive release script#223

Merged
stef-k merged 2 commits intomainfrom
feature/release-script
Feb 22, 2026
Merged

Add interactive release script#223
stef-k merged 2 commits intomainfrom
feature/release-script

Conversation

@stef-k
Copy link
Copy Markdown
Owner

@stef-k stef-k commented Feb 22, 2026

Summary

  • Add scripts/release.py — a Python 3 (stdlib-only) interactive release script
  • Automates: preflight checks → version prompt → .csproj bump → branch/PR/merge cycle → tag → draft GitHub release
  • Uses regex for .csproj writes (preserves XML comments), ElementTree for reads
  • ReleaseState tracker prints specific cleanup commands on Ctrl+C or failure at any step

Test plan

  • Run python scripts/release.py on main with clean tree — verify current state display
  • Enter a test version, verify confirmation, then cancel (n) — clean exit
  • Full run: verify branch, PR, merge, tag, and draft release all created correctly
  • Verify .csproj diff shows only the two version lines changed

Python 3 stdlib-only script that automates the full release ceremony:
preflight checks, .csproj version bump, branch/PR/merge cycle,
tag creation, and draft GitHub release.
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, you can upgrade your account or add credits to your account and enable them for code reviews in your settings.

@github-actions
Copy link
Copy Markdown

Code Coverage

Package Line Rate Branch Rate Complexity Health
WayfarerMobile.Core 79% 68% 633
Summary 79% (790 / 994) 68% (354 / 519) 633

@stef-k stef-k merged commit 84c7767 into main Feb 22, 2026
1 check passed
@stef-k stef-k deleted the feature/release-script branch February 22, 2026 18:25
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