summaryrefslogtreecommitdiff
path: root/support/release.sh
diff options
context:
space:
mode:
Diffstat (limited to 'support/release.sh')
-rwxr-xr-xsupport/release.sh26
1 files changed, 26 insertions, 0 deletions
diff --git a/support/release.sh b/support/release.sh
new file mode 100755
index 0000000..b2740d5
--- /dev/null
+++ b/support/release.sh
@@ -0,0 +1,26 @@
+#!/bin/sh
+set -e
+set -x
+
+tmp=/tmp/myr-release
+rm -rf $tmp
+mkdir -p $tmp
+cp -r ../mc $tmp/
+(
+ cd $tmp/mc
+ git clean -xfd
+ rm -rf .git
+)
+
+(
+ cd $tmp
+ tar cvf myrddin-$1.tar mc
+ bzip2 myrddin-$1.tar
+ tar cvf myrddin-$1.tar mc
+ gzip myrddin-$1.tar
+ tar cvf myrddin-$1.tar mc
+ xz myrddin-$1.tar
+)
+
+cp $tmp/myrddin-$1.tar.* .
+