fix(cli): fail with exit code 2 when no subcommand is given to `semantic-release` by codejedi365 · Pull Request #1260 · python-semantic-release/python-semantic-release

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@codejedi365

Copy link

Contributor

@codejedi365 codejedi365 commented

May 25, 2025

edited

Loading

Purpose

  • Provide better feedback to automation systems when subcommand is not given

How did you test?

Updated the test case that validates what happens when no arguments are given.


PR Completion Checklist

  • Reviewed & followed the Contributor Guidelines

  • Changes Implemented & Validation pipeline succeeds

  • Commits follow the Conventional Commits standard
    and are separated into the proper commit type and scope (recommended order: test, build, feat/fix, docs)

  • N/A Appropriate Unit tests added/updated

  • Appropriate End-to-End tests added/updated

  • N/A Appropriate Documentation added/updated and syntax validated for sphinx build (see Contributor Guidelines)

@codejedi365 codejedi365 force-pushed the fix/cli-exit-code-wo-cmd branch 4 times, most recently from 38658d5 to 9787006 Compare

May 25, 2025 22:52

@github-actions github-actions bot added the stale label

Jul 25, 2025

@codejedi365 codejedi365 removed the stale label

Jul 25, 2025

@codejedi365 codejedi365 force-pushed the fix/cli-exit-code-wo-cmd branch from 9787006 to caa6d07 Compare

September 13, 2025 05:48

@codejedi365 codejedi365 force-pushed the fix/cli-exit-code-wo-cmd branch from caa6d07 to 92b4913 Compare

November 2, 2025 21:21

@github-actions github-actions bot added the stale label

Jan 2, 2026

@codejedi365 codejedi365 added confirmed

Prevent from becoming stale

and removed stale labels

Jan 2, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

confirmed

Prevent from becoming stale

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

@codejedi365