From efaf1535fbd6aa8ba168e601de9d299934ebdbe5 Mon Sep 17 00:00:00 2001 From: Torkel Rogstad Date: Sun, 10 Nov 2024 02:49:12 +0100 Subject: [PATCH] ci: tune version extraction on windows --- .github/workflows/build-release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 4fa0da7a1f9aa..c6b3d870d23ff 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -125,7 +125,7 @@ jobs: # This command is a bit different than macOS and Linux, because the Windows version of # `grep` doesn't have the `-P` option. run: | - BITCOIN_PATCHED_VERSION=$(grep CMAKE_PROJECT_VERSION:STATIC build/CMakeCache.txt | cut -d = -f=1) + BITCOIN_PATCHED_VERSION=$(grep CMAKE_PROJECT_VERSION:STATIC build/CMakeCache.txt | cut -d = -f2) echo "BITCOIN_PATCHED_VERSION=$BITCOIN_PATCHED_VERSION" >> "$GITHUB_ENV" - uses: actions/upload-artifact@v4