From fd15bbf0c298852fc30a13aa9161938c9cf08175 Mon Sep 17 00:00:00 2001 From: Roland Rabien Date: Thu, 30 Apr 2026 07:00:30 -0700 Subject: [PATCH] Strip whitespace when reading VERSION (CMake file(READ) keeps the newline) --- CMakeLists.txt | 1 + VERSION | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c5793ac..4a8d37b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,6 +4,7 @@ cmake_minimum_required (VERSION 3.16.0 FATAL_ERROR) # Set for each plugin # file (READ "${CMAKE_CURRENT_LIST_DIR}/VERSION" PLUGIN_VERSION) +string (STRIP "${PLUGIN_VERSION}" PLUGIN_VERSION) set (PLUGIN_NAME Wavetable) set (BUNDLE_ID com.socalabs.wavetable) set (AU_ID WavetableAU) diff --git a/VERSION b/VERSION index 8b54409..f8536a4 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.28 +1.0.28 \ No newline at end of file