xref: /freebsd/contrib/unifdef/scripts/release.sh (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1#!/bin/sh
2
3. ./version.sh
4
5for f in $@ $(git ls-files | egrep -v '^web/|^[.]git$')
6do
7	mkdir -p web/$V/$(dirname $f)
8	cp $f web/$V/$f
9done
10
11cd web
12zip -qr $V.zip $V
13tar cf $V.tar $V
14xz -k9 $V.tar
15gzip -9 $V.tar
16rm -R $V
17
18ls -l $V.*
19