Skip to content

Commit

Permalink
Try again to release via GH actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
amjith committed Nov 25, 2024
1 parent 0e272b0 commit e77b08f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## 1.13.1 - 2024-11-24
## 1.13.2 - 2024-11-24

### Internal

Expand Down
9 changes: 1 addition & 8 deletions litecli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -825,15 +825,8 @@ def get_last_query(self):
return self.query_history[-1][0] if self.query_history else None


def version_callback(ctx: click.Context, param: click.Parameter, value: bool) -> None:
if not value or ctx.resilient_parsing:
return
click.echo(f"Version: {__version__}", color=ctx.color)
ctx.exit()


@click.command()
@click.option("-V", "--version", callback=version_callback, expose_value=False, is_eager=True, is_flag=True, help="Show version.")
@click.version_option(__version__, "-V", "--version")
@click.option("-D", "--database", "dbname", help="Database to use.")
@click.option(
"-R",
Expand Down

0 comments on commit e77b08f

Please sign in to comment.