From ac1d311e9cc47a45d55b781f5dd2cea8ee8936b3 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 17 Jun 2009 14:14:31 -0400 Subject: fix release scripts to always git clean This makes sure we do not include foreign object files or other build byproducts by mistake. --- lib/talloc/release-script.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/talloc') diff --git a/lib/talloc/release-script.sh b/lib/talloc/release-script.sh index 7ec47b7ee1..6b6c0e7aad 100755 --- a/lib/talloc/release-script.sh +++ b/lib/talloc/release-script.sh @@ -10,6 +10,9 @@ if [ ! -d "lib/talloc" ]; then exit 1 fi +git clean -f -x -d lib/talloc +git clean -f -x -d lib/replace + curbranch=`git-branch |grep "^*" | tr -d "* "` version=$1 -- cgit