diff --git a/CMakeLists.txt b/CMakeLists.txt index 4120c1e2d..938e30dc6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ cmake_minimum_required(VERSION 2.8.6) project(rtags) set(RTAGS_VERSION_MAJOR 2) -set(RTAGS_VERSION_MINOR 11) +set(RTAGS_VERSION_MINOR 12) set(RTAGS_VERSION_DATABASE 117) set(RTAGS_VERSION_SOURCES_FILE 12) set(RTAGS_VERSION ${RTAGS_VERSION_MAJOR}.${RTAGS_VERSION_MINOR}.${RTAGS_VERSION_DATABASE}) diff --git a/scripts/bump-version.sh b/scripts/bump-version.sh index 9cae9d744..c9a4e292f 100755 --- a/scripts/bump-version.sh +++ b/scripts/bump-version.sh @@ -14,6 +14,6 @@ if ! echo "$1" | grep -q "^[0-9]\+\.[0-9]\+$"; then exit 1 fi -sed -i"" -e "s,^set(RTAGS_VERSION_MAJOR [0-9]\+),set(RTAGS_VERSION_MAJOR $MAJOR)," "$DIR/../CMakeLists.txt" -e "s,^set(RTAGS_VERSION_MINOR [0-9]\+),set(RTAGS_VERSION_MINOR $MINOR)," "$DIR/../CMakeLists.txt" -sed -i"" -e "s,^(defconst rtags-package-version \"[0-9]\+\.[0-9]\+\"),(defconst rtags-package-version \"${MAJOR}.${MINOR}\")," "$DIR/../src/rtags.el" -sed -i"" -e "s,https://andersbakken\.github\.io/rtags-releases/rtags-[0-9]\+\.[0-9]\+\.tar\.,https://andersbakken.github.io/rtags-releases/rtags-$MAJOR.$MINOR.tar.,g" "$DIR/../README.org" +gsed -i"" -e "s,^set(RTAGS_VERSION_MAJOR [0-9]\+),set(RTAGS_VERSION_MAJOR $MAJOR)," -e "s,^set(RTAGS_VERSION_MINOR [0-9]\+),set(RTAGS_VERSION_MINOR $MINOR)," "$DIR/../CMakeLists.txt" +gsed -i"" -e "s,^(defconst rtags-package-version \"[0-9]\+\.[0-9]\+\"),(defconst rtags-package-version \"${MAJOR}.${MINOR}\")," "$DIR/../src/rtags.el" +gsed -i"" -e "s,https://andersbakken\.github\.io/rtags-releases/rtags-[0-9]\+\.[0-9]\+\.tar\.,https://andersbakken.github.io/rtags-releases/rtags-$MAJOR.$MINOR.tar.,g" "$DIR/../README.org"