Skip to content

Commit 97f4184

Browse files
hopefully fix multilining issues, and strip any trailing . from the version
1 parent efcfe30 commit 97f4184

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/target.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ jobs:
3838
id: version
3939
run: |
4040
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"
41+
X=`echo "${{ github.event.comment.body }}" | grep -o '!target.*' | awk '{print $2}'`; echo "Target: $X"
42+
echo VERSION="Target : ${X%.}" >> "$GITHUB_OUTPUT"
4343
4444
- name : "Create label if it doesn't exist"
4545
id: create-label

0 commit comments

Comments
 (0)