Skip to content

Commit 5763e76

Browse files
committed
Fix release workflow
1 parent 4044f85 commit 5763e76

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,12 @@ jobs:
3535
- name: Install uv
3636
uses: astral-sh/setup-uv@v7
3737
with:
38-
activate-environment: "true"
3938
enable-cache: "false"
4039

4140
- name: Fix version number
4241
# Fix for https://github.com/dolfinus/setuptools-git-versioning/issues/72#issuecomment-1312589464
4342
run: |
44-
version=$(echo $GITHUB_REF_SLUG | sed -E "s/v(.*)/\1/")
43+
version=$(uv run -m setuptools_git_versioning)
4544
sed -i -E "s/dynamic = .*/version = \"${version}\"/" pyproject.toml
4645
4746
- name: Build package

docs/changelog/3.0.x.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
3.0.x
22
======
33

4-
3.0.0 (2026-01-15)
4+
3.0.0 (2026-01-16)
55
-------------------
66

77
Breaking

0 commit comments

Comments
 (0)