diff options
author | Simo Sorce <idra@samba.org> | 2009-10-14 10:57:17 -0400 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2009-10-14 11:05:52 -0400 |
commit | 8fb483b2964f1222c013df42ba8be544269da612 (patch) | |
tree | 33ebc3825a110eab05f0d3d01671eb0c5c97cce6 /lib | |
parent | 8e6df560b74d7e9b94dd47625de56bc1dc0bc6d7 (diff) | |
download | samba-8fb483b2964f1222c013df42ba8be544269da612.tar.gz samba-8fb483b2964f1222c013df42ba8be544269da612.tar.bz2 samba-8fb483b2964f1222c013df42ba8be544269da612.zip |
talloc: Make abi checks in release script
Make always sure the exports and signature files are up to date before
shipping a release.
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/talloc/script/release-script.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/talloc/script/release-script.sh b/lib/talloc/script/release-script.sh index 6b6c0e7aad..4804f6ff58 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 |