blob: 6a6e062cec5c8bd602d8759cd22c3de8d24cdf97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
set -e
find -name .cvsignore -print0 | xargs -0 rm
pod2man pingd > pingd.1
version=`grep 'VERSION =' pingd | sed -e "s/.* '//" -e "s/'.*//"`
dirname=`basename \`pwd\``
if [ "$dirname" != "echolot-$version" ] ; then
echo "WARN: Version $version might be wrong"
echo "Enter to continue"
read
fi
cd ..
tar czf $dirname.tar.gz $dirname
gpg --detach-sign $dirname.tar.gz
|