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