summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsource4/script/mkrelease.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/source4/script/mkrelease.sh b/source4/script/mkrelease.sh
new file mode 100755
index 0000000000..0df4edb1d7
--- /dev/null
+++ b/source4/script/mkrelease.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+FROM=$1
+VERSION=$2
+
+svn export $FROM samba-$VERSION
+
+( cd samba-$VERSION || exit 1
+ (cd source && ./autogen.sh ) || exit 1
+ rm -rf webapps/qooxdoo-*-sdk/frontend/framework/.cache || exit 1
+) || exit 1
+
+tar -zcf samba-$VERSION.tar.gz samba-$VERSION