Skip to content

Commit

Permalink
ci: tune version extraction on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
torkelrogstad committed Nov 10, 2024
1 parent 2430109 commit efaf153
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit efaf153

Please sign in to comment.