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 dd10f4e commit 6390799Copy full SHA for 6390799
.github/workflows/release-test.yml
@@ -1,8 +1,12 @@
1
name: Release to TestPyPI
2
3
on:
4
- push:
5
workflow_dispatch:
+ inputs:
6
+ tag:
7
+ description: "Tag to release (e.g. v1.2.3 or v1.2.3rc1)"
8
+ required: true
9
+ type: string
10
11
permissions:
12
contents: read
@@ -17,6 +21,7 @@ jobs:
17
21
with:
18
22
fetch-depth: 0
19
23
fetch-tags: true
24
+ ref: ${{ github.event.inputs.tag }}
20
25
26
- name: Set up Python
27
uses: actions/setup-python@v5
.github/workflows/release.yml
@@ -1,7 +1,6 @@
name: Release to PyPI
inputs:
tag:
@@ -20,6 +19,8 @@ jobs:
- uses: actions/checkout@v4
+ fetch-tags: true
0 commit comments