Skip to content

Commit

Permalink
shell syntax again
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlancaster committed Jan 16, 2025
1 parent c75e744 commit 0380ff0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/documentation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
# need to generate _metadata.py manually since we are not
# doing a `pip install` build
PKGNAME=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['project][name])")
PKGNAME=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['project']['name'])")
VERSION_SCHEME=$(python -c "import tomllib; print(tomllib.load(open('pyproject.toml','rb'))['tool']['setuptools_scm']['version_scheme'])")
echo "__pkgname__ = \"${PKGNAME}\"" > src/PyPop/_metadata.py
echo "__version_scheme__ = \"${VERSION_SCHEME}\"" >> src/PyPop/_metadata.py
Expand Down

0 comments on commit 0380ff0

Please sign in to comment.