mirror of
https://github.com/zebrajr/ansible.git
synced 2025-12-06 12:19:53 +01:00
release.py - Add missing setuptools arg to prepare (#83887)
* release.py - Add missing setuptools arg to prepare This allows the prepare command to accept the `--no-setuptools` argument. It also fixes a traceback when using the `prepare` command. * Use a more accurate type hint
This commit is contained in:
parent
24e5b0d4fc
commit
b544ac13ec
|
|
@ -1244,7 +1244,7 @@ def check_state(allow_stale: bool = False) -> None:
|
|||
|
||||
# noinspection PyUnusedLocal
|
||||
@command
|
||||
def prepare(final: bool = False, pre: str | None = None, version: str | None = None) -> None:
|
||||
def prepare(final: bool = False, pre: str | None = None, version: str | None = None, setuptools: bool | None = None) -> None:
|
||||
"""Prepare a release."""
|
||||
command.run(
|
||||
update_version,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user