From cc2a3d3d28aaa1ab0e1e8a93c393edc44f3d5036 Mon Sep 17 00:00:00 2001 From: Olaf Bergmann Date: Wed, 21 Apr 2021 15:50:55 +0200 Subject: [PATCH] api-version-bump.sh: Add missing files to update .gitignore, autogen.sh, and Dockerfiles --- scripts/api-version-bump.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/api-version-bump.sh b/scripts/api-version-bump.sh index 15f2ad18..ffd959d9 100755 --- a/scripts/api-version-bump.sh +++ b/scripts/api-version-bump.sh @@ -38,6 +38,13 @@ find \( -name \*.h -o -name \*.c \) \ # examples-code-check.c generates new files with include statements sed -i "s,$pat,\1$NEW_VERSION/," man/examples-code-check.c +pathpat='\(include/coap\)'$LIBCOAP_API_VERSION + +# autogen.sh +for fn in autogen.sh .gitignore build-env/Dockerfile.* ; do + sed -i "s,$pathpat,\1$NEW_VERSION,g" $fn +done + # Adjust LIBCOAP_API_VERSION in CMakeLists.txt sed -i "s/^\(set(LIBCOAP_API_VERSION \+\)$LIBCOAP_API_VERSION\( *)\)/\1$NEW_VERSION\2/" CMakeLists.txt