Skip to content

Commit 0ea6779

Browse files
JerryLifeclaude
andcommitted
fix: add checkout to tag release job and use dynamic __version__
Add missing actions/checkout to github_tag_release workflow job. Replace hardcoded __version__ with importlib.metadata lookup so the version always matches pyproject.toml. Bump to 0.1.3. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f7513e8 commit 0ea6779

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,9 @@ jobs:
8585
contents: write
8686

8787
steps:
88+
- name: Checkout
89+
uses: actions/checkout@v4
90+
8891
- name: Download Dist Artifact
8992
uses: actions/download-artifact@v4
9093
with:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "llm-dna"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
description = "Extract LLM DNA vectors — low-dimensional representations that capture functional behavior and model evolution."
55
authors = [{ name = "LLM-DNA Project" }]
66
license = { file = "LICENSE" }

src/llm_dna/__init__.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
"calc_dna_batch",
1010
]
1111

12-
__version__ = "0.0.1"
12+
from importlib.metadata import version as _version
13+
14+
__version__ = _version("llm-dna")
1315

1416

1517
def __getattr__(name: str):

0 commit comments

Comments
 (0)