diff --git a/.github/workflows/Java.yml b/.github/workflows/Java.yml index 8c1b91655..15db1fc5c 100644 --- a/.github/workflows/Java.yml +++ b/.github/workflows/Java.yml @@ -925,6 +925,10 @@ jobs: shell: bash run: test "$(lipo -archs build/release/libduckdb_java.so_macos_arm64)" = "arm64" + - name: Check minimum macOS version + shell: bash + run: otool -l build/release/libduckdb_java.so_macos_arm64 | grep -A4 -E 'LC_BUILD_VERSION|LC_VERSION_MIN_MACOSX' + - name: Java Tests if: ${{ inputs.skip_tests != 'true' }} shell: bash @@ -999,6 +1003,10 @@ jobs: shell: bash run: test "$(lipo -archs build/release/libduckdb_java.so_macos_amd64)" = "x86_64" + - name: Check minimum macOS version + shell: bash + run: otool -l build/release/libduckdb_java.so_macos_amd64 | grep -A4 -E 'LC_BUILD_VERSION|LC_VERSION_MIN_MACOSX' + - name: Java Tests if: ${{ inputs.skip_tests != 'true' }} shell: bash diff --git a/CMakeLists.txt b/CMakeLists.txt index a2e7db7b3..60855d8c9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -25,6 +25,7 @@ endif() include(UseJava) +set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0" CACHE STRING "Minimum macOS version") # project definition diff --git a/CMakeLists.txt.in b/CMakeLists.txt.in index ac8b10ba6..d44c041bd 100644 --- a/CMakeLists.txt.in +++ b/CMakeLists.txt.in @@ -25,6 +25,7 @@ endif() include(UseJava) +set(CMAKE_OSX_DEPLOYMENT_TARGET "11.0" CACHE STRING "Minimum macOS version") # project definition diff --git a/scripts/jdbc_maven_deploy_s3.py b/scripts/jdbc_maven_deploy_s3.py index 1a5d2bde6..9c439f55d 100644 --- a/scripts/jdbc_maven_deploy_s3.py +++ b/scripts/jdbc_maven_deploy_s3.py @@ -53,7 +53,7 @@ def run_cmd(cmd, check=True, cwd=project_dir): def get_snapshot_version(external_version_prefix, external_version_suffix): # Get short commit hash for traceability - prefix = "2.0.0-dev" + prefix = "2.0.1-dev" if len(external_version_prefix) > 0: prefix = external_version_prefix if prefix[0] == "v":