Skip to content

Commit adb5099

Browse files
committed
Remove --force flag
1 parent 15fbc84 commit adb5099

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ path = "package.json"
3535
fields = ["description", "authors", "urls"]
3636

3737
[tool.jupyter-releaser.options]
38-
version-cmd = "cd ../.. && python scripts/bump_version.py --force --skip-if-dirty"
38+
version-cmd = "cd ../.. && python scripts/bump_version.py --skip-if-dirty"
3939
python_packages = [
4040
"python/jupyterlab-chat"
4141
]

scripts/bump_version.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,9 @@ def increment_version(current, spec):
5252

5353

5454
@click.command()
55-
@click.option("--force", default=False, is_flag=True)
5655
@click.option("--skip-if-dirty", default=False, is_flag=True)
5756
@click.argument("spec", nargs=1)
58-
def bump(force, skip_if_dirty, spec):
57+
def bump(skip_if_dirty, spec):
5958
status = run("git status --porcelain").strip()
6059
if len(status) > 0:
6160
if skip_if_dirty:

0 commit comments

Comments
 (0)