[llvm] workflows: Fix tag name for release sources job (PR #100752)
Tom Stellard via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 26 07:27:51 PDT 2024
https://github.com/tstellar created https://github.com/llvm/llvm-project/pull/100752
None
>From 602a552e4fb2c7097a775791ea5e214f9c2edbc0 Mon Sep 17 00:00:00 2001
From: Tom Stellard <tstellar at redhat.com>
Date: Fri, 26 Jul 2024 07:25:32 -0700
Subject: [PATCH] workflows: Fix tag name for release sources job
---
.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 9c5b1a9f01709..b0c0b652f3758 100644
--- a/.github/workflows/release-sources.yml
+++ b/.github/workflows/release-sources.yml
@@ -47,7 +47,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-commits
mailing list