Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set up flags in the pyproject.toml file? #917

Open
andreasciamanna opened this issue May 6, 2024 · 1 comment
Open

How to set up flags in the pyproject.toml file? #917

andreasciamanna opened this issue May 6, 2024 · 1 comment
Labels
confirmed Prevent from becoming stale feature A new feature or a feature request

Comments

@andreasciamanna
Copy link

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.

@codejedi365
Copy link
Contributor

@andreasciamanna, Currently these options are only available via the command line.

Changing this over to a feature request.

@codejedi365 codejedi365 added feature A new feature or a feature request confirmed Prevent from becoming stale and removed question labels May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed Prevent from becoming stale feature A new feature or a feature request
Projects
None yet
Development

No branches or pull requests

2 participants