]> git.phdru.name Git - audio-cdr-video.git/commitdiff
Add mk-distr
authorOleg Broytman <phd@phdru.name>
Tue, 24 Dec 2013 20:00:18 +0000 (00:00 +0400)
committerOleg Broytman <phd@phdru.name>
Tue, 24 Dec 2013 20:00:18 +0000 (00:00 +0400)
mk-distr [new file with mode: 0755]

diff --git a/mk-distr b/mk-distr
new file mode 100755 (executable)
index 0000000..b4bc4aa
--- /dev/null
+++ b/mk-distr
@@ -0,0 +1,10 @@
+#! /bin/sh
+
+umask 022
+
+if [ -n "$1" ]; then
+   git checkout "$1"
+fi &&
+
+exec git archive --format=tar.gz --prefix=audio-cdr-video/ \
+   -o "$HOME"/tmp/audio-cdr-video.tar.gz HEAD