8000 How to set up flags in the pyproject.toml file? · Issue #917 · python-semantic-release/python-semantic-release · GitHub
[go: up one dir, main page]

Skip to content
How to set up flags in the pyproject.toml file? #917
Open
@andreasciamanna

Description

@andreasciamanna

I can't find how to set flags such as push/no-push, --tag/--no-tag, etc. in the pyproject.toml file.

I've tried that, with no avail:

[tool.semantic_release]
# ...
push = false
tag = true
commit = true
change_log = true

I know I can provide the flags in the CLI, but this is an unsafe option when several developers work on the same project: they may forget to set the correct flags.

Adding a script or a Makefile would only add complexity and more changes for developers to use the wrong tool.

I would like these to be enforced in the configuration file, which is safer as developers will be less prone to make changes there accidentally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmedPrevent from becoming stalefeatureA new feature or a feature requestgood first issuea good start point for new contributorsneeds-updateNeeds status update from maintainers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0