Skip to content

Commit 9c1f9d6

Browse files
committed
Use short Python version for release tag
Update the GitHub Actions publish step to use env.PYTHON_VERSION_SHORT for the release tag_name instead of the full PYTHON_VERSION. This ensures generated release tags use the shorter/version identifier (e.g., 3.9) expected for release naming when publishing artifacts.
1 parent e4d0176 commit 9c1f9d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
- name: Publish all artifacts to release
147147
uses: softprops/action-gh-release@v2
148148
with:
149-
tag_name: v${{ env.PYTHON_VERSION }}
149+
tag_name: v${{ env.PYTHON_VERSION_SHORT }}
150150
files: release-artifacts/*
151151
fail_on_unmatched_files: true
152152
generate_release_notes: false

0 commit comments

Comments
 (0)