Skip to content

Commit dc42f23

Browse files
committed
ci: add workflow_dispatch for manual release runs
1 parent 1aa57e9 commit dc42f23

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ on:
44
push:
55
tags:
66
- 'v*'
7+
workflow_dispatch:
8+
inputs:
9+
tag:
10+
description: 'Release tag (e.g. v0.1.2)'
11+
required: true
12+
default: 'v0.1.0'
713

814
jobs:
915
release:
@@ -68,8 +74,8 @@ jobs:
6874
TAURI_TARGET: x86_64-pc-windows-gnu
6975
with:
7076
args: --target x86_64-pc-windows-gnu
71-
tagName: ${{ github.ref_name }}
72-
releaseName: '⚡ Process Manager ${{ github.ref_name }}'
77+
tagName: ${{ github.event.inputs.tag || github.ref_name }}
78+
releaseName: '⚡ Process Manager ${{ github.event.inputs.tag || github.ref_name }}'
7379
releaseBody: |
7480
## What's Changed
7581

0 commit comments

Comments
 (0)