Skip to content

Commit d44cf9d

Browse files
committed
workflow: pyz: fetch tags for specification of tag to build
1 parent c75bb5e commit d44cf9d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/build-pyz.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Build PYZ distribution
22

3-
run-name: ${{ github.event.release.tag_name || github.event.workflow_run.display_title }}
3+
run-name: ${{ github.event.release.tag_name || inputs.head-sha || github.event.workflow_run.display_title }}
44

55
on:
66
release:
@@ -52,6 +52,7 @@ jobs:
5252
# and its subsequent tag commit (but without fetching *everything*)
5353
ref: ${{ github.event.workflow_run.head_branch }}
5454
fetch-depth: 100
55+
fetch-tags: true
5556

5657
- name: Determine HEAD
5758
id: head

0 commit comments

Comments
 (0)