Fix release script

Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
This commit is contained in:
Stephen Smalley 2016-11-08 14:40:12 -05:00
parent 4480129412
commit f0e61d336f

View file

@ -29,7 +29,7 @@ for i in $DIRS_NEED_PREFIX; do
cd $i cd $i
VERS=`cat VERSION` VERS=`cat VERSION`
ARCHIVE=selinux-$i-$VERS.tar.gz ARCHIVE=selinux-$i-$VERS.tar.gz
git tag $i-$VERS > /dev/null 2>&1 git tag selinux-$i-$VERS > /dev/null 2>&1
git archive --format=tar --prefix=selinux-$i-$VERS/ selinux-$i-$VERS | gzip > ../$DEST/$ARCHIVE git archive --format=tar --prefix=selinux-$i-$VERS/ selinux-$i-$VERS | gzip > ../$DEST/$ARCHIVE
cd .. cd ..
done done