We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 93902d3 commit 51951a2Copy full SHA for 51951a2
1 file changed
.github/workflows/aur-update.yml
@@ -5,11 +5,6 @@ on:
5
tags:
6
- "v[0-9]+.[0-9]+.[0-9]+"
7
workflow_dispatch:
8
- inputs:
9
- tag:
10
- description: 'Release tag (e.g., v0.16.1)'
11
- required: true
12
- type: string
13
14
jobs:
15
update-aur:
@@ -25,7 +20,9 @@ jobs:
25
20
run: |
26
21
# Determine the tag based on trigger type
27
22
if [ "${{ github.event_name }}" = "workflow_dispatch" ]; then
28
- TAG="${{ inputs.tag }}"
23
+ # Get the latest tag when manually triggered
24
+ git fetch --tags
+ TAG=$(git describe --tags --abbrev=0)
29
else
30
TAG="${GITHUB_REF_NAME}"
31
fi
0 commit comments