From 2d0c11f36de9ebafbb67c980943007fcac5fc39d Mon Sep 17 00:00:00 2001 From: Philipp Schicho Date: Thu, 24 Oct 2024 13:42:37 +0200 Subject: [PATCH] fix search path for sed --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index fafbaad..0fd3a56 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -24,8 +24,8 @@ jobs: - name: Check if WallGoMatrixVersion matches GitHub tag run: | - WallGoMatrixVersion=$(sed -n 's/WallGoMatrix`\$WallGoMatrixVersion = "\(.*\)";/\1/p' WallGoMatrix.m) - WallGoMatrixVersionDate=$(sed -n 's/WallGoMatrix`\$WallGoMatrixVersionDate = "\(.*\)";/\1/p' WallGoMatrix.m) + WallGoMatrixVersion=$(sed -n 's/WallGoMatrix`\$WallGoMatrixVersion = "\(.*\)";/\1/p' src/Kernel/WallGoMatrix.m) + WallGoMatrixVersionDate=$(sed -n 's/WallGoMatrix`\$WallGoMatrixVersionDate = "\(.*\)";/\1/p' src/Kernel/WallGoMatrix.m) if [ "$WallGoMatrixVersion" == "${{ env.tag }}" ]; then echo "WallGoMatrixVersion matches the tag"