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 e0e4c98 commit b3a248fCopy full SHA for b3a248f
.github/workflows/release.yaml
@@ -15,8 +15,8 @@ jobs:
15
id: python-version
16
run: |
17
CLASSIFIERS="$(yq -p toml -o toml '.project.classifiers[]' pyproject.toml | grep "Programming Language :: Python :: " | grep "\.")"
18
- VERSION="$(echo "${CLASSIFIERS}" | sed -e 's/Programming Language :: Python :: \([0-9.]*\)$/"\1"/g' | tail -n 1)"
19
- echo "python_version=[${VERSION}]" > "${GITHUB_OUTPUT}"
+ VERSION="$(echo "${CLASSIFIERS}" | sed -e 's/Programming Language :: Python :: \([0-9.]*\)$/\1/g' | tail -n 1)"
+ echo "python_version=${VERSION}" > "${GITHUB_OUTPUT}"
20
# See: https://stackoverflow.com/questions/58177786/get-the-current-pushed-tag-in-github-actions
21
- name: Get release version
22
id: release-version
0 commit comments