Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,10 @@ jobs:
- name: Extract package version
id: package-version
run: |
# Extract version from pyproject.toml
PACKAGE_VERSION=$(python -c "
import tomli
import tomllib
with open('pyproject.toml', 'rb') as f:
data = tomli.load(f)
data = tomllib.load(f)
print(data['project']['version'])
")
echo "PACKAGE_VERSION=$PACKAGE_VERSION" >> $GITHUB_OUTPUT
Expand Down