diff options
Diffstat (limited to 'tools/release')
-rw-r--r-- | tools/release/helpers.sh | 8 | ||||
-rwxr-xr-x | tools/release/version.sh | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/release/helpers.sh b/tools/release/helpers.sh index 2dd5bae1..47d5782a 100644 --- a/tools/release/helpers.sh +++ b/tools/release/helpers.sh @@ -6,15 +6,15 @@ die() { } package_info_load_name() { - grep AC_INIT configure.in | perl -ne 's/^.+\(\[([-\w]*)\],.+$/$1/ and print' + grep AC_INIT configure.ac | perl -ne 's/^.+\(\[([-\w]*)\],.+$/$1/ and print' } package_info_load_version() { - grep AC_INIT configure.in | perl -ne 's/^.+\[([-\w\.]*)\],$/$1/ and print' + grep AC_INIT configure.ac | perl -ne 's/^.+\[([-\w\.]*)\],$/$1/ and print' } package_info_load() { - [ -f "configure.in" ] || \ - die "package_info_load: configure.in is missing" + [ -f "configure.ac" ] || \ + die "package_info_load: configure.ac is missing" PACKAGE_NAME="$(package_info_load_name)" # todo: fix this diff --git a/tools/release/version.sh b/tools/release/version.sh index 8c6da273..d6c9434b 100755 --- a/tools/release/version.sh +++ b/tools/release/version.sh @@ -8,7 +8,7 @@ # NOTE Use with care! "RC" should only follow x.x.x, with # vendor tags after that. Be traditional; avoid "rc0". -# NOTE: This *ONLY* updates the "configure.in" version tag. +# NOTE: This *ONLY* updates the "configure.ac" version tag. # It does not affect GIT tags. Use this script immediately # before making a release, to remove the "-dev" tag and to # update the version label. Then commit the change and tag @@ -34,7 +34,7 @@ do_version_sed() { local NEW_VERSION="$1" local MSG="$2" - sed -i -e "/AC_INIT/ s|${OLD_VERSION}|${NEW_VERSION}|" configure.in + sed -i -e "/AC_INIT/ s|${OLD_VERSION}|${NEW_VERSION}|" configure.ac package_info_load echo "${MSG}: ${OLD_VERSION} -> ${NEW_VERSION}" } |