Skip to content

Commit e46c28d

Browse files
maloun96claude
andcommitted
fix: read version from package metadata instead of hardcoding
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent a48e109 commit e46c28d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "aidocs"
3-
version = "0.21.0"
3+
version = "0.21.1"
44
description = "AI-powered documentation generator for web applications. Install docs commands into your Claude Code project."
55
readme = "README.md"
66
license = { text = "MIT" }

src/aidocs_cli/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
"""AI-powered documentation generator CLI for Claude Code projects."""
22

3-
__version__ = "0.20.0"
3+
from importlib.metadata import version
4+
5+
__version__ = version("aidocs")
46

57
from .cli import app
68

0 commit comments

Comments
 (0)