We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 864888d commit 1f5eae2Copy full SHA for 1f5eae2
1 file changed
.github/workflows/release.yml
@@ -4,12 +4,6 @@ on:
4
push:
5
tags:
6
- '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
13
14
env:
15
CARGO_TERM_COLOR: always
@@ -26,11 +20,7 @@ jobs:
26
20
- name: Determine ref and version
27
21
id: get-ref
28
22
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 }}"
34
24
echo "ref=$REF" >> $GITHUB_OUTPUT
35
25
# Extract version from ref (remove refs/tags/ prefix if present)
36
VERSION="${REF#refs/tags/}"
0 commit comments