Sign Script - Take EXIM_KEY from environ.
[exim.git] / release-process / scripts / sign_exim_packages.sh
1 #!/bin/sh
2 #
3 # $Cambridge: exim/release-process/scripts/sign_exim_packages.sh,v 1.1 2010/06/03 12:00:38 nm4 Exp $
4 #
5 # gpg signs the package set.
6 # key used set from env var EXIM_KEY, script defaults that to Nigel's.
7 # woe betide the poor sod who does not use a gpg agent, so has
8 # to enter their password for every file...
9 #
10
11 : ${EXIM_KEY:=nigel@exim.org}
12
13
14 for file in *.tar.gz *.tar.bz2
15 do
16 gpg --local-user ${EXIM_KEY} --detach-sig --armor $file
17 done