Skip to content

workflows: Fix tag name for release sources job #100752

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

tstellar
Copy link
Collaborator

No description provided.

@llvmbot
Copy link
Member

llvmbot commented Jul 26, 2024

@llvm/pr-subscribers-github-workflow

Author: Tom Stellard (tstellar)

Changes

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

1 Files Affected:

  • (modified) .github/workflows/release-sources.yml (+1-1)
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

@tstellar tstellar merged commit 3c2ce70 into llvm:main Jul 26, 2024
9 checks passed
@tstellar tstellar added this to the LLVM 19.X Release milestone Sep 3, 2024
@tstellar
Copy link
Collaborator Author

tstellar commented Sep 3, 2024

/cherry-pick 3c2ce70

llvmbot pushed a commit to llvmbot/llvm-project that referenced this pull request Sep 3, 2024
@llvmbot
Copy link
Member

llvmbot commented Sep 3, 2024

/pull-request #107132

tru pushed a commit to llvmbot/llvm-project that referenced this pull request Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

Successfully merging this pull request may close these issues.

3 participants