mirror of
https://github.com/ceph/ceph
synced 2024-12-19 18:02:46 +00:00
b81273d5ec
So you don't have to cut&paste it on the command line Signed-off-by: Sage Weil <sage@newdream.net>
22 lines
450 B
Bash
Executable File
22 lines
450 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
vers=$1
|
|
[ -z "$vers" ] && [ -e .last_release ] && vers=`cat .last_release`
|
|
[ -z "$vers" ] && echo specify version && exit 1
|
|
echo version $vers
|
|
|
|
#./pull.sh $vers dsc changes
|
|
|
|
for f in `cd release/$vers ; ls *.{dsc,changes}`
|
|
do
|
|
if [ -e "release/$vers/$f" ]; then
|
|
if head -1 release/$vers/$f | grep -q 'BEGIN PGP SIGNED MESSAGE' ; then
|
|
echo already signed $f
|
|
else
|
|
debsign -k288995c8 release/$vers/$f
|
|
fi
|
|
fi
|
|
done
|