aboutsummaryrefslogtreecommitdiff
path: root/scripts/release.sh
blob: bfdd4fc3a1e782adab2142391e6b482b8b31dcd4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

. ./version.sh

for f in $@ $(git ls-files | egrep -v '^web/|^[.]git$')
do
	mkdir -p web/$V/$(dirname $f)
	cp $f web/$V/$f
done

cd web
zip -qr $V.zip $V
tar cf $V.tar $V
xz -k9 $V.tar
gzip -9 $V.tar
rm -R $V

ls -l $V.*