Skip to content

Commit 66863a1

Browse files
committed
🐛 fix(release): use double quotes for tag variable expansion
Single quotes prevent bash variable expansion, so the temporary tag was created as the literal string '${STEPS_V_OUTPUTS_VERSION}' instead of the actual version. hatch-vcs then falls back to git describe, producing a dev+local version that PyPI rejects.
1 parent c2b0cee commit 66863a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
BASE_SHA: ${{ github.event.pull_request.base.sha }}
5050
- name: Create temporary tag for hatch-vcs
5151
if: github.event.inputs.release != 'no' && github.event.inputs.release != null
52-
run: git tag '${STEPS_V_OUTPUTS_VERSION}'
52+
run: git tag "${STEPS_V_OUTPUTS_VERSION}"
5353
env:
5454
STEPS_V_OUTPUTS_VERSION: ${{ steps.v.outputs.version }}
5555
- name: Build package

0 commit comments

Comments
 (0)