Skip to content

Commit 1f5eae2

Browse files
committed
chore(github): remove manual release trigger
1 parent 864888d commit 1f5eae2

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ on:
44
push:
55
tags:
66
- 'v[0-9]+.[0-9]+.[0-9]+'
7-
workflow_dispatch:
8-
inputs:
9-
tag:
10-
description: "Tag to release (e.g., v1.0.0)"
11-
required: true
12-
type: string
137

148
env:
159
CARGO_TERM_COLOR: always
@@ -26,11 +20,7 @@ jobs:
2620
- name: Determine ref and version
2721
id: get-ref
2822
run: |
29-
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
30-
REF="${{ github.event.inputs.tag }}"
31-
else
32-
REF="${{ github.ref }}"
33-
fi
23+
REF="${{ github.ref }}"
3424
echo "ref=$REF" >> $GITHUB_OUTPUT
3525
# Extract version from ref (remove refs/tags/ prefix if present)
3626
VERSION="${REF#refs/tags/}"

0 commit comments

Comments
 (0)