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 7ba5d1d commit f379a8aCopy full SHA for f379a8a
.github/workflows/python-publish.yml
@@ -105,7 +105,7 @@ jobs:
105
- name: Extract version from Python package
106
id: get_version
107
run: |
108
- VERSION=$(ls dist/*.whl | head -n 1 | sed -n 's/.*-\([0-9][^.-]*\).whl/\1/p')
+ VERSION=$(ls dist/*.whl | head -n 1 | awk -F'-' '{print $2}')
109
echo "PACKAGE_VERSION=$VERSION" >> $GITHUB_ENV
110
111
- name: Sign the dists with Sigstore
0 commit comments