Skip to content

Commit ee31b5a

Browse files
committed
fix: bump version to 0.6.1 and auto-sync version from git tag in publish workflow
1 parent 48b817d commit ee31b5a

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ jobs:
2222
with:
2323
python-version: "3.12"
2424

25+
- name: Set version from tag
26+
run: |
27+
VERSION=${GITHUB_REF#refs/tags/v}
28+
sed -i "s/^version = .*/version = \"$VERSION\"/" pyproject.toml
29+
echo "Publishing version: $VERSION"
30+
2531
- name: Build package
2632
run: uv build
2733

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
77

88
[project]
99
name = "lmms_eval"
10-
version = "0.6.0"
10+
version = "0.6.1"
1111
authors = [
1212
{ name = "LMMMs-Lab Evaluation Team", email = "lmms-lab@outlook.com" },
1313
]

0 commit comments

Comments
 (0)