Skip to content

Commit bc205d7

Browse files
committed
use v prefixed release tags in workflow
1 parent 4465017 commit bc205d7

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ name: Publish to PyPI
33
on:
44
workflow_dispatch:
55
inputs:
6-
version:
7-
description: 'Version to publish (e.g. 1.9.0)'
6+
tag:
7+
description: 'Git tag to publish (e.g. v1.9.0)'
88
required: true
99
type: string
1010

@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
- uses: actions/checkout@v4
2121
with:
22-
ref: v${{ github.event.inputs.version }}
22+
ref: ${{ github.event.inputs.tag }}
2323

2424
- name: Set up Python
2525
uses: actions/setup-python@v5

0 commit comments

Comments
 (0)