From: Simo Sorce Date: Wed, 14 Oct 2009 14:57:17 +0000 (-0400) Subject: talloc: Make abi checks in release script X-Git-Tag: talloc-2.0.1~1 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=8fb483b2964f1222c013df42ba8be544269da612 talloc: Make abi checks in release script Make always sure the exports and signature files are up to date before shipping a release. --- diff --git a/lib/talloc/script/release-script.sh b/lib/talloc/script/release-script.sh index 6b6c0e7aad0..4804f6ff58d 100755 --- a/lib/talloc/script/release-script.sh +++ b/lib/talloc/script/release-script.sh @@ -10,6 +10,16 @@ if [ ! -d "lib/talloc" ]; then exit 1 fi +# Check exports and signatures are up to date +pushd lib/talloc +./script/abi_checks.sh talloc talloc.h +abicheck=$? +popd +if [ ! "$abicheck" = "0" ]; then + echo "ERROR: ABI Checks produced warnings!" + exit 1 +fi + git clean -f -x -d lib/talloc git clean -f -x -d lib/replace