From 255d95e96bb4a62a215d0704dd2066d42ef79144 Mon Sep 17 00:00:00 2001 From: Alex Robenko Date: Sat, 28 Sep 2024 15:42:47 +1000 Subject: [PATCH 1/3] Updating next version to be v2.0.5 --- client/lib/include/cc_mqttsn_client/common.h | 2 +- gateway/lib/include/cc_mqttsn_gateway/version.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/lib/include/cc_mqttsn_client/common.h b/client/lib/include/cc_mqttsn_client/common.h index 4d353ef..158140b 100644 --- a/client/lib/include/cc_mqttsn_client/common.h +++ b/client/lib/include/cc_mqttsn_client/common.h @@ -26,7 +26,7 @@ extern "C" { /// @brief Patch level of the library /// @ingroup global -#define CC_MQTTSN_CLIENT_PATCH_VERSION 4U +#define CC_MQTTSN_CLIENT_PATCH_VERSION 5U /// @brief Macro to create numeric version as single unsigned number #define CC_MQTTSN_CLIENT_MAKE_VERSION(major_, minor_, patch_) \ diff --git a/gateway/lib/include/cc_mqttsn_gateway/version.h b/gateway/lib/include/cc_mqttsn_gateway/version.h index 56fc283..cc10cb5 100644 --- a/gateway/lib/include/cc_mqttsn_gateway/version.h +++ b/gateway/lib/include/cc_mqttsn_gateway/version.h @@ -17,7 +17,7 @@ #define CC_MQTTSN_GW_MINOR_VERSION 0U /// @brief Patch level of the library -#define CC_MQTTSN_GW_PATCH_VERSION 4U +#define CC_MQTTSN_GW_PATCH_VERSION 5U /// @brief Macro to create numeric version as single unsigned number #define CC_MQTTSN_GW_MAKE_VERSION(major_, minor_, patch_) \ From 686bdae29300f0dd8e0a6475a93e243aa2b3cc47 Mon Sep 17 00:00:00 2001 From: Alex Robenko Date: Tue, 8 Oct 2024 08:00:52 +1000 Subject: [PATCH 2/3] Fixing reported gateway crash (github issue #19). --- gateway/app/gateway/GatewayApp.cpp | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gateway/app/gateway/GatewayApp.cpp b/gateway/app/gateway/GatewayApp.cpp index 1b7ba8b..debb43e 100644 --- a/gateway/app/gateway/GatewayApp.cpp +++ b/gateway/app/gateway/GatewayApp.cpp @@ -107,13 +107,7 @@ bool GatewayApp::start(int argc, const char* argv[]) return; } - boost::asio::post( - m_io, - [this, iter]() - { - m_sessions.erase(iter); - }); - + m_sessions.erase(iter); }); if (!session->start()) { From b1db395e3b3f311ac1a064fbbe19098f31737b56 Mon Sep 17 00:00:00 2001 From: Alex Robenko Date: Tue, 15 Oct 2024 07:58:27 +1000 Subject: [PATCH 3/3] Ignore tags on github actions. --- .github/workflows/actions_build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/actions_build.yml b/.github/workflows/actions_build.yml index c3fe631..57b67c6 100644 --- a/.github/workflows/actions_build.yml +++ b/.github/workflows/actions_build.yml @@ -1,6 +1,11 @@ name: Github Actions Build -on: [push] +on: + push: + branches: + - '**' + tags-ignore: + - '**' env: COMMS_TAG: v5.2.7