git.samba.org
/
gd
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
8e6df56
)
talloc: Make abi checks in release script
author
Simo Sorce
<idra@samba.org>
Wed, 14 Oct 2009 14:57:17 +0000
(10:57 -0400)
committer
Simo Sorce
<idra@samba.org>
Wed, 14 Oct 2009 15:05:52 +0000
(11:05 -0400)
Make always sure the exports and signature files are up to date before
shipping a release.
lib/talloc/script/release-script.sh
patch
|
blob
|
history
diff --git
a/lib/talloc/script/release-script.sh
b/lib/talloc/script/release-script.sh
index 6b6c0e7aad0a58aa30f0d4132c498c56b01fc377..4804f6ff58d749088ad27062955ffc4485d87cf5 100755
(executable)
--- 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
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
git clean -f -x -d lib/talloc
git clean -f -x -d lib/replace