[llvm] [Infra] Fix version-check workflow (PR #100090)

Tobias Hieta via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 23 02:31:35 PDT 2024


https://github.com/tru created https://github.com/llvm/llvm-project/pull/100090

None

>From 1fc4a261f9d7a558e3f55d2bf42447233ced22c4 Mon Sep 17 00:00:00 2001
From: Tobias Hieta <tobias at hieta.se>
Date: Tue, 23 Jul 2024 11:29:01 +0200
Subject: [PATCH] [Infra] Fix version-check workflow

---
 .github/workflows/version-check.yml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.github/workflows/version-check.yml b/.github/workflows/version-check.yml
index 4ce6119a407f5..894e07d323ca9 100644
--- a/.github/workflows/version-check.yml
+++ b/.github/workflows/version-check.yml
@@ -27,5 +27,5 @@ jobs:
 
       - name: Version Check
         run: |
-          version=$(grep -o 'LLVM_VERSION_\(MAJOR\|MINOR\|PATCH\) [0-9]\+' llvm/CMakeLists.txt  | cut -d ' ' -f 2 | tr "\n" "." | sed 's/.$//g')
+          version=$(grep -o 'LLVM_VERSION_\(MAJOR\|MINOR\|PATCH\) [0-9]\+' cmake/Modules/LLVMVersion.cmake  | cut -d ' ' -f 2 | tr "\n" "." | sed 's/.$//g')
           .github/workflows/version-check.py "$version"



More information about the llvm-commits mailing list