We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6db1d62 commit 01d7467Copy full SHA for 01d7467
.github/workflows/target.yml
@@ -39,7 +39,13 @@ jobs:
39
run: |
40
echo "${{ github.event.comment.body }}"
41
X=`echo "${{ github.event.comment.body }}" | grep -o '!target.*' | awk '{print $2}'`; echo "Target: $X"
42
- echo VERSION="Target : ${X%.}" >> "$GITHUB_OUTPUT"
+ if [[ ${X,,} = v* ]]
43
+ then
44
+ Y="${X,,}"
45
+ else
46
+ Y="v${X,,}"
47
+ fi
48
+ echo VERSION="Target : ${Y%.}" >> "$GITHUB_OUTPUT"
49
50
- name : "Create label if it doesn't exist"
51
id: create-label
0 commit comments