From 5b90842c55a84122fd1bbffe098da6d9b4fb7cd6 Mon Sep 17 00:00:00 2001 From: Ian Barwick Date: Tue, 20 Oct 2020 13:34:16 +0900 Subject: [PATCH] Bump version to 5.2.0 Also update the minimum version check to PostgreSQL 9.4. --- configure | 20 ++++++++++---------- configure.in | 4 ++-- repmgr_version.h.in | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/configure b/configure index 577c9692..23c51577 100755 --- a/configure +++ b/configure @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for repmgr 5.2. +# Generated by GNU Autoconf 2.69 for repmgr 5.2.0. # # Report bugs to . # @@ -582,8 +582,8 @@ MAKEFLAGS= # Identity of this package. PACKAGE_NAME='repmgr' PACKAGE_TARNAME='repmgr' -PACKAGE_VERSION='5.2' -PACKAGE_STRING='repmgr 5.2' +PACKAGE_VERSION='5.2.0' +PACKAGE_STRING='repmgr 5.2.0' PACKAGE_BUGREPORT='repmgr@googlegroups.com' PACKAGE_URL='https://repmgr.org/' @@ -1181,7 +1181,7 @@ if test "$ac_init_help" = "long"; then # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures repmgr 5.2 to adapt to many kinds of systems. +\`configure' configures repmgr 5.2.0 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1242,7 +1242,7 @@ fi if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of repmgr 5.2:";; + short | recursive ) echo "Configuration of repmgr 5.2.0:";; esac cat <<\_ACEOF @@ -1316,7 +1316,7 @@ fi test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -repmgr configure 5.2 +repmgr configure 5.2.0 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -1335,7 +1335,7 @@ cat >config.log <<_ACEOF This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by repmgr $as_me 5.2, which was +It was created by repmgr $as_me 5.2.0, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -1824,7 +1824,7 @@ if test "$major_version_num" -lt '10'; then version_num_int=$(echo "$version_num"| $SED -e 's/^\([0-9]*\)\.\([0-9]*\)$/\1\2/') - if test "$version_num_int" -lt '93'; then + if test "$version_num_int" -lt '94'; then as_fn_error $? "repmgr is not compatible with detected PostgreSQL version: $version_num" "$LINENO" 5 fi else @@ -2487,7 +2487,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1 # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by repmgr $as_me 5.2, which was +This file was extended by repmgr $as_me 5.2.0, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -2550,7 +2550,7 @@ _ACEOF cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -repmgr config.status 5.2 +repmgr config.status 5.2.0 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff --git a/configure.in b/configure.in index 922c1254..979c9d1e 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -AC_INIT([repmgr], [5.2], [repmgr@googlegroups.com], [repmgr], [https://repmgr.org/]) +AC_INIT([repmgr], [5.2.0], [repmgr@googlegroups.com], [repmgr], [https://repmgr.org/]) AC_COPYRIGHT([Copyright (c) 2010-2020, 2ndQuadrant Ltd.]) @@ -32,7 +32,7 @@ if test "$major_version_num" -lt '10'; then version_num_int=$(echo "$version_num"| $SED -e 's/^\([[0-9]]*\)\.\([[0-9]]*\)$/\1\2/') - if test "$version_num_int" -lt '93'; then + if test "$version_num_int" -lt '94'; then AC_MSG_ERROR([repmgr is not compatible with detected PostgreSQL version: $version_num]) fi else diff --git a/repmgr_version.h.in b/repmgr_version.h.in index bfb99dcd..89a3e15d 100644 --- a/repmgr_version.h.in +++ b/repmgr_version.h.in @@ -1,5 +1,5 @@ #define REPMGR_VERSION_DATE "" -#define REPMGR_VERSION "5.2dev" +#define REPMGR_VERSION "5.2.0" #define REPMGR_VERSION_NUM 50200 #define REPMGR_RELEASE_DATE "2020-XX-XX" #define PG_ACTUAL_VERSION_NUM