release script

This commit is contained in:
Joshua Brindle 2009-03-12 01:23:32 -04:00
parent 3028bc3c58
commit ff317eb616

12
scripts/release Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
DIRS="libsepol libselinux libsemanage policycoreutils checkpolicy sepolgen"
mkdir ../selinux-dev-release
for i in $DIRS; do
cd $i
git archive --format=tar --prefix=$i-`cat VERSION`/ HEAD | gzip > ../../selinux-dev-release/$i-`cat VERSION`.tar.gz
cd ..
done