[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:37:58 PDT 2024
https://github.com/llvmbot created https://github.com/llvm/llvm-project/pull/107132
Backport 3c2ce7088886a22ab8dc0e9488600c43644b5102
Requested by: @tstellar
>From a279ea01c6403874b29b79bbcccced72749999a6 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 26 Jul 2024 07:38:53 -0700
Subject: [PATCH] workflows: Fix tag name for release sources job (#100752)
(cherry picked from commit 3c2ce7088886a22ab8dc0e9488600c43644b5102)
---
.github/workflows/release-sources.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
More information about the llvm-branch-commits
mailing list