There was an error while loading. Please reload this page.
1 parent ad35c49 commit 4def727Copy full SHA for 4def727
1 file changed
.github/workflows/release.yml
@@ -83,9 +83,10 @@ jobs:
83
mkdir build-environment-evidence
84
python -m pip list --format=freeze \
85
| LC_ALL=C sort -f > build-environment-evidence/environment.lock
86
+ package_version="$(python -c 'import tomllib; print(tomllib.load(open("pyproject.toml", "rb"))["project"]["version"])')"
87
cyclonedx-py environment --output-reproducible --of JSON \
88
--pyproject pyproject.toml \
- -o build-environment-evidence/engraphis-${GITHUB_REF_NAME#v}.cdx.json
89
+ -o "build-environment-evidence/engraphis-${package_version}.cdx.json"
90
91
- name: Build source and universal wheel distributions
92
shell: bash
0 commit comments