-
Notifications
You must be signed in to change notification settings - Fork 264
Open
Labels
bugSomething isn't working properlySomething isn't working properlyconfirmedPrevent from becoming stalePrevent from becoming stale
Description
Bug Report
Description
I tried calling semantic-release --verbose --noop --strict version.
Expected behavior
Since I have no commits on my branch since the latest release, I expect PSR to return and print the error message formatted in bold orange.
Actual behavior
The error message is black and prepended by [bold orange1].
The reason for the bug is, so I guess, that in
| click.echo(err_msg, err=True) |
click.echo is used to print the error instead of rprint
Environment
- Operating System (w/ version): LMDE 7
- Python version: 3.14.2
- Pip version: uv 0.9.26
- Semantic-release version: 10.5.3
- Build tool (w/ version): uv 0.9.26
pip freeze
annotated-doc==0.0.4
annotated-types==0.7.0
anybadge==1.16.0
anyio==4.12.0
argcomplete==3.6.3
arrow==1.4.0
astroid==4.0.2
attrs==25.4.0
bandit==1.9.2
black==25.12.0
boolean.py==5.0
certifi==2025.11.12
cfgv==3.5.0
charset-normalizer==3.4.4
click==8.1.8
click-option-group==0.5.9
colorama==0.4.6
commitizen==4.11.2
coverage==7.13.1
decli==0.6.3
defusedxml==0.7.1
Deprecated==1.3.1
dill==0.4.0
distlib==0.4.0
dnspython==2.8.0
dotty-dict==1.3.1
fastapi==0.121.2
filelock==3.20.1
flake8==7.3.0
flake8-html==0.4.3
fqdn==1.5.1
genbadge==1.1.3
gitdb==4.0.12
GitPython==3.1.45
graphql-core==3.2.7
h11==0.16.0
harfile==0.4.0
httpcore==1.0.9
httptools==0.7.1
httpx==0.28.1
hypothesis==6.148.7
hypothesis-graphql==0.11.1
hypothesis-jsonschema==0.23.1
identify==2.6.15
idna==3.11
importlib_resources==6.5.2
iniconfig==2.3.0
interrogate==1.7.0
isoduration==20.11.0
isort==7.0.0
Jinja2==3.1.6
jsonpointer==3.0.0
jsonschema==4.25.1
jsonschema-specifications==2025.9.1
junit-xml==1.9
librt==0.7.4
license-expression==30.4.4
markdown-it-py==4.0.0
MarkupSafe==3.0.3
mccabe==0.7.0
mdurl==0.1.2
mypy==1.19.1
mypy_extensions==1.1.0
nodeenv==1.9.1
orjson==3.11.4
packaging==25.0
pathspec==0.12.1
pillow==12.0.0
pipdeptree==2.30.0
platformdirs==4.5.1
pluggy==1.6.0
pre_commit==4.5.1
prompt_toolkit==3.0.51
py==1.11.0
pycodestyle==2.14.0
pydantic==2.12.5
pydantic_core==2.41.5
pydocstringformatter==0.7.5
pyflakes==3.4.0
Pygments==2.19.2
pylint==4.0.4
pymongo==4.15.4
pyrate-limiter==3.9.0
pytest==9.0.2
pytest-subtests==0.15.0
python-dateutil==2.9.0.post0
python-debian==1.0.1
python-dotenv==1.2.1
python-gitlab==6.5.0
python-magic==0.4.27
python-semantic-release==10.5.3
pytokens==0.3.0
PyYAML==6.0.3
questionary==2.1.1
referencing==0.37.0
requests==2.32.5
requests-toolbelt==1.0.0
reuse==6.2.0
rfc3339-validator==0.1.4
rfc3987==1.3.8
rich==14.2.0
rpds-py==0.30.0
schemathesis==4.8.0
sentry-sdk==2.44.0
setuptools==80.9.0
shellingham==1.5.4
six==1.17.0
smmap==5.0.2
sortedcontainers==2.4.0
starlette==0.49.3
starlette-testclient==0.4.1
stevedore==5.6.0
tabulate==0.9.0
tenacity==9.1.2
termcolor==3.2.0
tomlkit==0.13.3
typing-inspection==0.4.2
typing_extensions==4.15.0
tzdata==2025.3
uri-template==1.3.0
urllib3==2.6.2
uvicorn==0.38.0
uvloop==0.22.1
virtualenv==20.35.4
watchfiles==1.1.1
wcwidth==0.2.14
webcolors==25.10.0
websockets==15.0.1
Werkzeug==3.1.4
wrapt==2.0.1
git log --oneline --decorate --graph --all -n 50
Configuration
Semantic Release Configuration
[tool.semantic_release]
# commit additional files
assets = ["uv.lock"]
build_command = """
uv lock --upgrade-package "$PACKAGE_NAME"
uv export --no-dev --format cyclonedx1.5 > sbom.json
uv build
"""
commit_message = "chore(release): {version}"
major_on_zero = false
no_git_verify = true
tag_format = "{version}"
version_toml = [
"pyproject.toml:tool.somesy.project.version",
"pyproject.toml:project.version",
]
version_variables = []
[tool.semantic_release.changelog]
exclude_commit_patterns = [
"^Merge",
"^Revert",
"^test",
"^refactor",
"^docs",
"^ci",
"^chore",
"^build",
]
[tool.semantic_release.publish]
# files added to the gitlab release
dist_glob_patterns = ["dist/*", "sbom.json"]
[tool.semantic_release.remote]
domain = "gitlab.*****.de"
token = { env = "GL_TOKEN" }
type = "gitlab"Build System Configuration
GitHub Actions Job Definition
Execution Log
semantic-release -vv command
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't working properlySomething isn't working properlyconfirmedPrevent from becoming stalePrevent from becoming stale