Skip to content

Conversation

@BenjiMilan
Copy link
Contributor

Add release push to cli.

Closes #26

@BenjiMilan BenjiMilan requested a review from TB-1993 February 9, 2026 15:55
@BenjiMilan BenjiMilan self-assigned this Feb 9, 2026
Copilot AI review requested due to automatic review settings February 9, 2026 15:55
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds the missing sc release push subcommand so users can push release branches to the remote (including repo/manifest updates), addressing Issue #26.

Changes:

  • Introduces a new release push CLI command wired to SCBranching.push(BranchType.RELEASE, name).

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

Comment on lines +194 to +197
@click.argument('name', required=False)
def push(name: str):
"""Push release branch to remote, if a repo project updates the manifest with the lastest commits."""
SCBranching.push(BranchType.RELEASE, name)
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

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

name is declared as an optional Click argument (required=False), so it may be None. The type annotation should reflect that (e.g., str | None) to avoid misleading type checkers/readers.

Copilot uses AI. Check for mistakes.
@release.command()
@click.argument('name', required=False)
def push(name: str):
"""Push release branch to remote, if a repo project updates the manifest with the lastest commits."""
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

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

Typo in docstring: "lastest" should be "latest".

Suggested change
"""Push release branch to remote, if a repo project updates the manifest with the lastest commits."""
"""Push release branch to remote, if a repo project updates the manifest with the latest commits."""

Copilot uses AI. Check for mistakes.
Copy link

@TB-1993 TB-1993 left a comment

Choose a reason for hiding this comment

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

Ship it!

@BenjiMilan BenjiMilan merged commit 23fbb85 into develop Feb 9, 2026
11 checks passed
@BenjiMilan BenjiMilan deleted the feature/gh26_no_release_push_in_cli branch February 9, 2026 16:00
@github-actions github-actions bot locked and limited conversation to collaborators Feb 9, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: No release push in cli

2 participants