diff --git a/client/win/win_config.h b/client/win/win_config.h index 38302839d4..0cd24aa6df 100644 --- a/client/win/win_config.h +++ b/client/win/win_config.h @@ -1,4 +1,4 @@ #define MAJOR_VERSION 1 -#define MINOR_VERSION 11 -#define PACKAGE_VERSION "1.11" -#define VERSION "1.11" +#define MINOR_VERSION 12 +#define PACKAGE_VERSION "1.12" +#define VERSION "1.12" diff --git a/set-version b/set-version index 270edf865a..7b7ff4a60f 100755 --- a/set-version +++ b/set-version @@ -15,12 +15,15 @@ cmd() "$@" || die "couldn't $*" } -[ "$1" ] || die "syntax: set-version 1.42" +if [ "$1" ]; then + echo "Setting BOINC version to $1." -echo "Setting boinc version to $1." + cmd mv configure.ac configure.ac.old + cmd sed "s/^AC_INIT.*/AC_INIT(BOINC, $1)/" configure.ac.old > configure.ac +else + echo "Updating files for BOINC version (assuming you manually changed configure.ac)" +fi -cmd mv configure.ac configure.ac.old -cmd sed "s/^AC_INIT.*/AC_INIT(BOINC, $1)/" configure.ac.old > configure.ac cmd ./_autosetup -c cmd cd client cmd make win/win_config.h