When you specify settings in pyproject.toml that can also be set through a cli flag, the pyproject.toml file setting is ignored. This is because the setting is always overriden with the (default) value from the cli even when not explicitly passed.
Given the following configuration:
[tool.poetry-release]
disable-push = true
and then running poetry release, it still pushes to the remote.
When you specify settings in pyproject.toml that can also be set through a cli flag, the pyproject.toml file setting is ignored. This is because the setting is always overriden with the (default) value from the cli even when not explicitly passed.
Given the following configuration:
and then running
poetry release
, it still pushes to the remote.