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