[llvm-branch-commits] [llvm] release/19.x: workflows: Fix tag name for release sources job (#100752) (PR #107132)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Sep 3 10:38:29 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-github-workflow

Author: None (llvmbot)

<details>
<summary>Changes</summary>

Backport 3c2ce7088886a22ab8dc0e9488600c43644b5102

Requested by: @<!-- -->tstellar

---
Full diff: https://github.com/llvm/llvm-project/pull/107132.diff


1 Files Affected:

- (modified) .github/workflows/release-sources.yml (+1-1) 


``````````diff
diff --git a/.github/workflows/release-sources.yml b/.github/workflows/release-sources.yml
index edb0449ef7e2c2..a6c86823f99df5 100644
--- a/.github/workflows/release-sources.yml
+++ b/.github/workflows/release-sources.yml
@@ -51,7 +51,7 @@ jobs:
     steps:
       - id: inputs
         run: |
-          ref=${{ inputs.release-version || github.sha }}
+          ref=${{ (inputs.release-version && format('llvmorg-{0}', inputs.release-version)) || github.sha }}
           if [ -n "${{ inputs.release-version }}" ]; then
             export_args="-release ${{ inputs.release-version }} -final"
           else

``````````

</details>


https://github.com/llvm/llvm-project/pull/107132


More information about the llvm-branch-commits mailing list