1 files changed, 13 insertions(+), 0 deletions(-)
A pack.do
A pack.do => pack.do +13 -0
@@ 0,0 1,13 @@
+redo all
+redo-ifchange version
+read VERSION <version
+VERSION=$(echo $VERSION | sed 's/^v//')
+DISTDIR=ste-$VERSION
+mkdir $DISTDIR
+for f in $(git ls-files); do
+ d=$DISTDIR/$(dirname $f)
+ mkdir -p $d
+ cp $f $d
+done
+tar cvf $DISTDIR.tar.xz $DISTDIR >/dev/null
+rm -fr $DISTDIR