I took it from another source [1], but it is already there [2] [1] http://maven.apache.org/maven-1.x/developers/making-releases.html [2] https://svn.apache.org/repos/private/committers/tools/releases/gpg-sign-all
Cheers, Guillaume Nodet robert burrell donkin wrote: > On 9/15/06, Guillaume Nodet <[EMAIL PROTECTED]> wrote: >> Once everything is uploaded, >> I scp the whole dir on my host >> sign all the jars with a batch >> and upload all the asc files ... >> >> Here is the shell script: >> #!/bin/sh >> MY_KEY="Guillaume Nodet" >> echo -n "PGP Key Password: " >> read PASSWORD >> echo "" >> for FILE in $(find . -not '(' -name "*.md5" -or -name "*.sha1" -or -name >> "*.asc" -or -name "*-version" -or -name "maven-metadata.xml" ')' -and >> -type f -and -user $USER) ; do >> signature=${FILE}.asc >> if [ ! -f ${signature} ] >> then >> echo -n "Creating: ${signature} ... " >> echo "$PASSWORD" | gpg --default-key "$MY_KEY" --detach-sign --armor >> --no-tty --yes --passphrase-fd 0 "$FILE" && echo done. >> gpg --verify "$FILE.asc" "$FILE" >> fi >> done >> echo "Finished!" > > cool: feel like committing it to committers...? > > - robert > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]