From ff317eb616975e69f5534554affb9c3a6626ac43 Mon Sep 17 00:00:00 2001 From: Joshua Brindle Date: Thu, 12 Mar 2009 01:23:32 -0400 Subject: [PATCH] release script --- scripts/release | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100755 scripts/release diff --git a/scripts/release b/scripts/release new file mode 100755 index 00000000..88fa9c8e --- /dev/null +++ b/scripts/release @@ -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 +