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 +++ lib/tdb/release-script.sh | 3 +++ 2 files changed, 6 insertions(+) (limited to 'lib') 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 diff --git a/lib/tdb/release-script.sh b/lib/tdb/release-script.sh index 95d4238657..ddeb753b97 100755 --- a/lib/tdb/release-script.sh +++ b/lib/tdb/release-script.sh @@ -10,6 +10,9 @@ if [ ! -d "lib/tdb" ]; then exit 1 fi +git clean -f -x -d lib/tdb +git clean -f -x -d lib/replace + curbranch=`git-branch |grep "^*" | tr -d "* "` version=$1 -- cgit