sign sources

This commit is contained in:
Manuel Domke
2018-10-15 17:08:22 +02:00
parent 84b1d8dd83
commit c9f9cd7dc8

View File

@@ -12,7 +12,21 @@ ARCH=$2
PATH=$PATH:/sbin/
mkdir -p SOURCES
tar -czf SOURCES/infnoise.tar.gz . --exclude="SOURCES"
tar -czf SOURCES/infnoise-$VERSION.tar.gz . --exclude="SOURCES"
SIGNPACKAGE=1
while test $# -gt 0
do
case "$1" in
--notsigned) SIGNPACKAGE=0
;;
esac
shift
done
if [ $SIGNPACKAGE -eq 1 ] ; then
gpg --sign SOURCES/infnoise-$VERSION.tar.gz
fi
mkdir -p BUILD SPECS RPMS SRPMS