Skip to content

Commit 43932ea

Browse files
committed
fix: versioning
1 parent 24fb82d commit 43932ea

3 files changed

Lines changed: 4 additions & 3 deletions

File tree

.bumpversion.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ commit_args = ""
1919
setup_hooks = []
2020
pre_commit_hooks = []
2121
post_commit_hooks = []
22+
files = [
23+
{ filename = "pyproject.toml", search = 'dynamic = ["version"]', replace = 'version = "{new_version}"' },
24+
]
2225
"ttyd_cli/__init__.py" = { search = '__version__ = "{current_version}"', replace = '__version__ = "{new_version}"'}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "ttyd-client"
3-
dynamic = ["version"]
3+
version = "0.1.0"
44
description = "A Python client library for connecting to TTYD (tty over WebSocket) servers with full terminal support, authentication, and cross-platform compatibility"
55
readme = "README.md"
66
requires-python = ">=3.12"

ttyd_cli/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,4 @@
88
from .client import TTYDClient
99
from .exceptions import InvalidAuthorization
1010

11-
__version__ = "0.1.0"
12-
1311
__all__ = ["TTYDClient", "InvalidAuthorization"]

0 commit comments

Comments
 (0)