Skip to content

Commit c564fa0

Browse files
committed
Rename task prepare-release to release:prepare
1 parent 23c032e commit c564fa0

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

doc/developer_guide/development.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ This can be achieved by running the following command:
1717

1818
.. code-block:: shell
1919
20-
nox -s prepare-release -- <major>.<minor>.<patch>
20+
nox -s release:prepare -- <major>.<minor>.<patch>
2121
2222
Replace `<major>`, `<minor>`, and `<patch>` with the appropriate version numbers.
2323
Once the PR is successfully merged, the release can be triggered (see next section).

exasol/toolbox/nox/_release.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@
2828

2929
def _create_parser() -> argparse.ArgumentParser:
3030
parser = argparse.ArgumentParser(
31-
prog="nox -s prepare-release",
32-
usage="nox -s prepare-release -- [-h] version",
31+
prog="nox -s release:prepare",
32+
usage="nox -s release:prepare -- [-h] version",
3333
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
3434
)
3535
parser.add_argument(
@@ -89,7 +89,7 @@ def _add_files_to_index(session: Session, files: list[Path]) -> None:
8989
session.run("git", "add", f"{file}")
9090

9191

92-
@nox.session(name="prepare-release", python=False)
92+
@nox.session(name="release:prepare", python=False)
9393
def prepare_release(session: Session, python=False) -> None:
9494
"""
9595
Prepares the project for a new release.
@@ -147,4 +147,3 @@ def prepare_release(session: Session, python=False) -> None:
147147
'""',
148148
)
149149

150-

0 commit comments

Comments
 (0)