Skip to content

Commit a8a8045

Browse files
committed
Merge branch 'main' into pypi
2 parents 45056a5 + 38734a3 commit a8a8045

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
inputs:
99
tag:
1010
description: "Tag name to build (e.g., v1.2.3). Defaults to ref."
11-
required: false
11+
required: true
1212
type: string
1313

1414
permissions:
@@ -129,6 +129,8 @@ jobs:
129129
uses: softprops/action-gh-release@v2
130130
with:
131131
files: ./artifacts/**/*
132+
tag_name: ${{ inputs.tag != '' && inputs.tag || github.ref_name }}
133+
target_commitish: ${{ github.sha }}
132134
draft: false
133135
prerelease: false
134136
generate_release_notes: true

0 commit comments

Comments
 (0)