Skip to content

feat: improve git make-release version bump - #12

Merged
mhier merged 1 commit into
masterfrom
mhier/feat-push-with-pr-workflow
Jun 3, 2026
Merged

feat: improve git make-release version bump#12
mhier merged 1 commit into
masterfrom
mhier/feat-push-with-pr-workflow

Conversation

@mhier

@mhier mhier commented Jun 2, 2026

Copy link
Copy Markdown
Member

No description provided.

@mhier
mhier requested a review from phako June 2, 2026 16:14

Copilot AI left a comment

Copy link
Copy Markdown

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 improves the automated version-bump flow in git-make-release by reusing a generic “push + create PR/MR + merge” helper, and extends that helper to support a couple of automation-oriented flags needed by the release flow.

Changes:

  • Add argument parsing to git-push-with-pr to support -y, custom --branch, and --skip-pull.
  • Add a single confirmation prompt for automatic version bump modes (--patch/--minor/--major) in git-make-release.
  • Replace the bespoke PR/MR creation+merge logic in git-make-release with a call to git push-with-pr for consistency and reuse.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
git-push-with-pr Adds flags to enable non-interactive merging, custom head branch selection, and optionally skipping the final git pull --rebase to support being called from other scripts.
git-make-release Introduces a bump-type confirmation and reuses git push-with-pr to create+merge the version-bump PR/MR instead of duplicating GitHub/GitLab logic.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@mhier
mhier merged commit dc891b4 into master Jun 3, 2026
1 check passed
@mhier
mhier deleted the mhier/feat-push-with-pr-workflow branch June 3, 2026 12:24
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.

3 participants