xref: /freebsd/contrib/unifdef/scripts/release.sh (revision 59c8e88e72633afbc47a4ace0d2170d00d51f7dc)
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