Skip to content

Commit 9a46c80

Browse files
authored
ci(publish): fix tagger step (#206)
1 parent b71b745 commit 9a46c80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,11 @@ jobs:
2525
id: tags
2626
run: |
2727
# Extract the Python version from the Dockerfile
28-
PYTHON_VERSION=$(grep 'ENV PYTHON_VERSION' Dockerfile | cut -d '=' -f 2)
28+
PYTHON_VERSION=$(grep 'ENV PYTHON312_VERSION' Dockerfile | cut -d '=' -f 2)
2929
echo "PYTHON_VERSION=${PYTHON_VERSION}"
3030
# Trim the version to the first two segments (major.minor)
3131
PYTHON_VERSION_MAJOR_MINOR=$(echo $PYTHON_VERSION | cut -d'.' -f1-2)
32-
echo "MAJOR_MINOR=${MAJOR_MINOR}"
32+
echo "PYTHON_VERSION_MAJOR_MINOR=${PYTHON_VERSION_MAJOR_MINOR}"
3333
# Export the extracted version to GITHUB_OUTPUT
3434
echo "python-version=${VERSION}" >> $GITHUB_OUTPUT
3535
echo "python-version-major-minor=${PYTHON_VERSION_MAJOR_MINOR}" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)