Skip to content

Commit 710169f

Browse files
vdusekclaude
andcommitted
refactor: Use uv version --short to extract project version
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 38c1b28 commit 710169f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/manual_version_docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
yarn install
8585
8686
# Extract version from pyproject.toml.
87-
VERSION="$(python -c "import tomllib, pathlib; print(tomllib.loads(pathlib.Path('../pyproject.toml').read_text())['project']['version'])")"
87+
VERSION="$(uv version --short)"
8888
MAJOR_MINOR="$(echo "$VERSION" | cut -d. -f1-2)"
8989
MAJOR="$(echo "$VERSION" | cut -d. -f1)"
9090
echo "version=$VERSION" >> "$GITHUB_OUTPUT"

0 commit comments

Comments
 (0)