Skip to content

Commit bfca37a

Browse files
committed
Fix version number
1 parent a64fdf9 commit bfca37a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/build_windows_binaries.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ jobs:
7272
- name: Get Project Version
7373
shell: msys2 {0}
7474
run: |
75-
VERSION=$(grep -m 1 "VERSION" CMakeLists.txt | grep -o "[0-9.]\+")
75+
VERSION=$(grep 'PRIMECOUNT_VERSION' include/primecount.h | grep -oP '\d+\.\d+(\.\d+)?')
7676
echo "PROJECT_VERSION=$VERSION" >> $GITHUB_ENV
7777
7878
- name: Build Windows ARM64 binary

0 commit comments

Comments
 (0)