diff --git a/BUILD b/BUILD index bea2ba44..6ff72875 100644 --- a/BUILD +++ b/BUILD @@ -30,7 +30,6 @@ cc_library( name = "common_deps", defines = [ "NDEBUG", - "TYPESENSE_VERSION=\\\"nightly\\\"", ], linkopts = select({ "@platforms//os:macos": ["-framework Foundation -framework SystemConfiguration"], @@ -70,6 +69,9 @@ cc_binary( "src/main/typesense_server.cpp", ":src_files", ], + local_defines = [ + "TYPESENSE_VERSION=\\\"$(TYPESENSE_VERSION)\\\"" + ], copts = COPTS, deps = [":common_deps"], )