Skip to content

Commit e77b08f

Browse files
committed
Try again to release via GH actions.
1 parent 0e272b0 commit e77b08f

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## 1.13.1 - 2024-11-24
1+
## 1.13.2 - 2024-11-24
22

33
### Internal
44

litecli/main.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -825,15 +825,8 @@ def get_last_query(self):
825825
return self.query_history[-1][0] if self.query_history else None
826826

827827

828-
def version_callback(ctx: click.Context, param: click.Parameter, value: bool) -> None:
829-
if not value or ctx.resilient_parsing:
830-
return
831-
click.echo(f"Version: {__version__}", color=ctx.color)
832-
ctx.exit()
833-
834-
835828
@click.command()
836-
@click.option("-V", "--version", callback=version_callback, expose_value=False, is_eager=True, is_flag=True, help="Show version.")
829+
@click.version_option(__version__, "-V", "--version")
837830
@click.option("-D", "--database", "dbname", help="Database to use.")
838831
@click.option(
839832
"-R",

0 commit comments

Comments
 (0)