Exit codes#
This page lists the exit codes of repoplone commands.
repoplone exits with code 0 on success and 1 on failure.
A known error prints Error: <message> to the standard error.
Exit code 0#
Command |
Situation |
|---|---|
any |
Success. |
any |
No |
any |
You answered no to a confirmation. |
|
You answered no after a warning in the checks before the release. |
|
The component already uses the requested version. |
|
The backend is not managed by uv. The command prints a message and changes nothing. |
Important
A missing repository.toml is not a failure.
In CI, check that the file exists before you rely on the exit code.
Exit code 1#
Command |
Situation |
|---|---|
any |
|
|
PyPI or npm authentication is missing for a package with |
|
The repository changelog is missing, or has no |
|
A tracked file has uncommitted changes, outside a dry run and a restart. |
|
|
|
The version is not valid, is not higher than the current one, or already exists as a tag. |
|
|
|
A step failed. The command prints |
|
A |
|
The file cannot be migrated, or already follows specification 2. |
|
The file already declares components, or |
|
An area has changes and no news fragment. |
|
The branch cannot be compared with the base, or both |
|
The component is unknown, has no base package, or the version is not valid for it. |
|
The upgrade or |
|
|
See also
Command line, for every command and option.
Check news fragments in CI, which relies on the exit code of
changelog check.