workflows: Fix incorrect input name in release-binaries.yml (#84604)
authorTom Stellard <tstellar@redhat.com>
Mon, 11 Mar 2024 23:03:32 +0000 (16:03 -0700)
committerTom Stellard <tstellar@redhat.com>
Thu, 9 May 2024 02:47:50 +0000 (19:47 -0700)
In aa02002491333c42060373bc84f1ff5d2c76b4ce the input name was changed
from tag to release-version, but the code was never updated.

(cherry picked from commit 8d220d109d28dac352c563ab062fb72132b7eca1)

.github/workflows/release-binaries.yml

index 1dba91746dae5a8a375a554feb41592578dba859..131ad3004f457743403fbc07a64193cf53262c6a 100644 (file)
@@ -71,8 +71,8 @@ jobs:
       # | X.Y.Z     | -final
       run: |
         tag="${{ github.ref_name }}"
-        trimmed=$(echo ${{ inputs.tag }} | xargs)
-        [[ "$trimmed" != "" ]] && tag="$trimmed"
+        trimmed=$(echo ${{ inputs.release-version }} | xargs)
+        [[ "$trimmed" != "" ]] && tag="llvmorg-$trimmed"
         if [ "$tag" = "main" ]; then
           # If tag is main, then we've been triggered by a scheduled so pass so
           # use the head commit as the tag.