mirror of
https://github.com/obgm/libcoap.git
synced 2026-10-27 05:01:23 +03:00
api-version-bump.sh: Add missing files to update
.gitignore, autogen.sh, and Dockerfiles
This commit is contained in:
1 parent
f77ed8b385
commit
cc2a3d3d28
1 file changed
+7
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user