Skip to content

Split release script into two phases#142

Merged
villelaitila merged 1 commit intosoftagram:mainfrom
villelaitila:improve-release-script
Feb 5, 2026
Merged

Split release script into two phases#142
villelaitila merged 1 commit intosoftagram:mainfrom
villelaitila:improve-release-script

Conversation

@villelaitila
Copy link
Contributor

Summary

  • Splits release process into two explicit phases for better UX
  • Phase 1 (--bump/--version): Creates release PR, then exits with next-step instructions
  • Phase 2 (--complete VERSION): Completes release after PR merge (tag, build, upload)
  • Removes confusing blocking behavior while waiting for PR merge

Test plan

  • Tested with --dry-run for both phases
  • Successfully used for release 1.2.6

🤖 Generated with Claude Code

The release script now operates in two distinct phases:

Phase 1 (--bump or --version): Creates the release PR and exits
with clear instructions for the next step.

Phase 2 (--complete VERSION): Runs after the PR is merged to
complete the release (tag, build, PyPI upload, GitHub release).

This eliminates the confusing behavior where the script would
block waiting for PR merge, making the workflow more explicit
and easier to understand.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@villelaitila villelaitila merged commit 7444527 into softagram:main Feb 5, 2026
1 check passed
@softagram-bot
Copy link

Looking good 🎉

See the full Softagram report

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.

2 participants