Skip to content

fix: Update driver version in windows CI - #1652

Open
KanchanShu wants to merge 1 commit into
mainfrom
update_package_version
Open

KanchanShu wants to merge 1 commit into
mainfrom
update_package_version

Conversation

@KanchanShu

@KanchanShu KanchanShu commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Windows CI builds had ODBC_GOOGLE_DRIVER_VERSION hardcoded to 99.99.99, causing the MSI to always be created as ODBCDriverforBigQuery_windows_x64_99.99.99.msi. Additionally, -DPROJECT_VERSION was never passed to CMake, so the DLL's internal kDriverVer was always 1.0.0 — inconsistent with the MSI filename.

This PR removes the hardcoding and makes CMakeLists.txt the single source of truth. The version is now extracted dynamically and passed through the entire pipeline, so the DLL and MSI filename always match the actual project version — consistent with how the release workflow already handles it.

Files changed:

  • .github/workflows/windows-cmake.yml
  • ci/gha/builds/windows-cmake-integration.sh

@KanchanShu
KanchanShu force-pushed the update_package_version branch from 80f1ed8 to fab3d00 Compare September 7, 2026 11:05
@KanchanShu KanchanShu changed the title test fix: Update driver version in windows CI Sep 7, 2026
@KanchanShu
KanchanShu marked this pull request as ready for review September 16, 2026 06:40
@KanchanShu
KanchanShu requested a review from a team as a code owner September 16, 2026 06:40
@sachinpro

Copy link
Copy Markdown
Collaborator

We want to pass the driver version through windows-cmake.yml and it has to be "99.99.99" so that it will override any local version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants