Skip to content

Commit 3624825

Browse files
committed
fix: release workflow
1 parent 0c88825 commit 3624825

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ on:
44
release:
55
types: [published]
66
workflow_dispatch:
7+
inputs:
8+
tag_name:
9+
description: 'The tag name to attach these binaries to (e.g., v0.1.1)'
10+
required: true
11+
type: string
712

813
permissions:
914
contents: write
@@ -76,6 +81,7 @@ jobs:
7681
- name: Upload Release Asset
7782
uses: softprops/action-gh-release@v1
7883
with:
84+
tag_name: ${{ github.event.release.tag_name || github.event.inputs.tag_name }}
7985
files: ${{ matrix.asset_name }}
8086
fail_on_unmatched_files: true
8187
generate_release_notes: true

0 commit comments

Comments
 (0)