diff options
Diffstat (limited to 'prepare-release')
-rwxr-xr-x | prepare-release | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/prepare-release b/prepare-release index 919450b33..5eef65276 100755 --- a/prepare-release +++ b/prepare-release @@ -355,6 +355,14 @@ elif [ "$1" = "merge-translations" ]; then | msgcat --use-first - $i \ | sponge $i done +elif [ "$1" = "bump-abi" ]; then + LIBAPTPKGVERSION=${2:-${LIBAPTPKGVERSION}} + rename s/libapt-pkg[0-9.]+[0-9]/libapt-pkg${LIBAPTPKGVERSION}/g $(find debian/ -type f) + sed -i \ + -re s/libapt-pkg[0-9.]+[0-9]/libapt-pkg${LIBAPTPKGVERSION}/g \ + -re s/APTPKG_[0-9.]+[0-9]/APTPKG_${LIBAPTPKGVERSION}/g \ + -re s/libapt-pkg.so.[0-9.]+[0-9]/libapt-pkg.so.${LIBAPTPKGVERSION}/g \ + $(find debian/ -type f -and -not -name changelog) else echo >&1 "Usage:\t$0 pre-export \t$0 pre-build |