We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaddc4d commit 05ee5e7Copy full SHA for 05ee5e7
.github/workflows/publish.yml
@@ -20,7 +20,7 @@ jobs:
20
- name: Verify tag matches pyproject.toml version
21
run: |
22
TAG="${GITHUB_REF#refs/tags/v}"
23
- FILE_VER=$(python -c "import tomli;print(tomli.load(open('pyproject.toml', 'r', encoding='utf-8'))['project']['version'])")
+ FILE_VER=$(python -c "import tomli;print(tomli.load(open('pyproject.toml', 'rb'))['project']['version'])")
24
[ "$TAG" = "$FILE_VER" ] || { echo "Tag $TAG != pyproject $FILE_VER"; exit 1; }
25
- name: Build dists
26
run: python -m build
0 commit comments