From 7791897e8f4c23bde6fc5f95a222c4a8f1123462 Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Mon, 18 Oct 2021 09:48:56 +0200 Subject: [PATCH] api-version-bump.sh: Added missing changes for win32 This change adds replacements for additional files in the win32 subdirectory tree according to commit 166ef51e (see [1]). [1] https://github.com/obgm/libcoap/pull/763 --- scripts/api-version-bump.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/api-version-bump.sh b/scripts/api-version-bump.sh index ffd959d9..d39e0028 100755 --- a/scripts/api-version-bump.sh +++ b/scripts/api-version-bump.sh @@ -51,5 +51,10 @@ sed -i "s/^\(set(LIBCOAP_API_VERSION \+\)$LIBCOAP_API_VERSION\( *)\)/\1$NEW_VERS # Adjust LibCoAPIncludeDir in win32/libcoap.props sed -i "s/\(include\\\coap\)$LIBCOAP_API_VERSION/\1$NEW_VERSION/" win32/libcoap.props +# Adjust API version in in win32/libcoap.vcxproj +sed -i "s/\(\$(ProjectName)-\)$LIBCOAP_API_VERSION/\1$NEW_VERSION/" win32/libcoap.vcxproj +sed -i "s/\(libcoap-\)$LIBCOAP_API_VERSION/\1$NEW_VERSION/g" win32/install/install.vcxproj + # Finally, increase LIBCOAP_API_VERSION in configure.ac and re-run autoconf sed -i "s/^\(LIBCOAP_API_VERSION=\)$LIBCOAP_API_VERSION/\1$NEW_VERSION/" configure.ac && autoreconf