From 0c02d817afc62c90f40ed63478e097fd37396f78 Mon Sep 17 00:00:00 2001 From: Siddharth Chandrasekaran Date: Tue, 12 Nov 2024 02:20:23 +0100 Subject: [PATCH] scripts: Fix make-release.sh after PlatformIO changes Signed-off-by: Siddharth Chandrasekaran --- library.json | 2 +- platformio/osdp_config.h | 2 +- scripts/make-release.sh | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/library.json b/library.json index 29448ae..6b7baa3 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "LibOSDP", - "version": "3.0.6", + "version": "3.0.7", "description": "A cross-platform open source implementation of IEC 60839-11-5 Open Supervised Device Protocol (OSDP). The protocol is intended to improve interoperability among access control and security products. It supports Secure Channel (SC) for encrypted and authenticated communication between configured devices.", "authors": [{ "name": "Siddharth Chandrasekaran", diff --git a/platformio/osdp_config.h b/platformio/osdp_config.h index a7dc861..0e0b419 100644 --- a/platformio/osdp_config.h +++ b/platformio/osdp_config.h @@ -11,7 +11,7 @@ * @brief The following macros are defined defined from the variable in cmake * files. All @XXX@ are replaced by the value of XXX as resolved by cmake. */ -#define PROJECT_VERSION "3.0.6" +#define PROJECT_VERSION "3.0.7" #define PROJECT_NAME "libosdp" #define GIT_BRANCH "platformio" #define GIT_REV "" diff --git a/scripts/make-release.sh b/scripts/make-release.sh index c006ccd..cf0259a 100755 --- a/scripts/make-release.sh +++ b/scripts/make-release.sh @@ -97,7 +97,7 @@ function do_libosdp_release() { if [[ "$file" != "CHANGELOG" ]] && \ [[ "$file" != "CMakeLists.txt" ]] && \ [[ "$file" != "python/setup.py" ]] && \ - [[ "$file" != "library.json" ]] + [[ "$file" != "library.json" ]] && \ [[ "$file" != "platformio/osdp_config.h" ]] then echo "ERROR:" @@ -112,7 +112,7 @@ function do_libosdp_release() { echo "CHANGELOG needs to be updated manually" exit 1 fi - git add CHANGELOG CMakeLists.txt python/setup.py && + git add CHANGELOG CMakeLists.txt python/setup.py library.json platformio/osdp_config.h && git commit -s -m "Release v$version" && git tag "v$version" -s -a -m "Release v$version" }