Skip to content

Commit e4bd6f1

Browse files
committed
Make the manage release action triggerable on demand.
1 parent 638ea9b commit e4bd6f1

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

.github/workflows/manage-releases.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@ on:
2626
push:
2727
tags:
2828
- '*1984'
29-
29+
workflow_dispatch:
30+
inputs:
31+
tor_tag:
32+
description: 'Tag to process (e.g., 13.5.0.1984)'
33+
required: true
3034
jobs:
3135
release:
3236
name: Create / update current release
@@ -41,7 +45,8 @@ jobs:
4145
- name: Derive version and pre-release flag
4246
id: meta
4347
run: |
44-
TOR_TAG="${GITHUB_REF_NAME}"
48+
# Use workflow_dispatch input if provided, otherwise use the pushed tag
49+
TOR_TAG="${{ github.event.inputs.tor_tag || github.ref_name }}"
4550
echo "tor_tag=${TOR_TAG}" >> "$GITHUB_OUTPUT"
4651
4752
# Strip the Tor suffix to obtain the regular version.

0 commit comments

Comments
 (0)