Just wrote a script to bump version. Usage:
## Example 1: Bump from 1.99.16 to 1.99.17
bash$ misc/admin/bump_version
Executing: misc/admin/bump_version 16 17
+ sed -i 's/VERSION_BUILD="16"/VERSION_BUILD="17"/' /home/sadhen/github/texmacs/texmacs/cmake/build_deb.sh
+ sed -i 's/VERSION_BUILD="16"/VERSION_BUILD="17"/' /home/sadhen/github/texmacs/texmacs/configure
+ sed -i 's/VERSION_BUILD="16"/VERSION_BUILD="17"/' /home/sadhen/github/texmacs/texmacs/misc/m4/tm_version.m4
+ sed -i 's/VERSION_BUILD "16"/VERSION_BUILD "17"/' /home/sadhen/github/texmacs/texmacs/CMakeLists.txt
## Example 2: Bump from 1.99.17 to 1.99.18
bash$ misc/admin/bump_version 17 18
+ sed -i 's/VERSION_BUILD="17"/VERSION_BUILD="18"/' /home/sadhen/github/texmacs/texmacs/cmake/build_deb.sh
+ sed -i 's/VERSION_BUILD="17"/VERSION_BUILD="18"/' /home/sadhen/github/texmacs/texmacs/configure
+ sed -i 's/VERSION_BUILD="17"/VERSION_BUILD="18"/' /home/sadhen/github/texmacs/texmacs/misc/m4/tm_version.m4
+ sed -i 's/VERSION_BUILD "17"/VERSION_BUILD "18"/' /home/sadhen/github/texmacs/texmacs/CMakeLists.txt