Browse Source

suggest to use commons-openpgp instead of a script to sign the artifacts

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@1053112 13f79535-47bb-0310-9956-ffa450edef68
master
Antoine Levy-Lambert 14 years ago
parent
commit
e763106c8d
1 changed files with 11 additions and 21 deletions
  1. +11
    -21
      ReleaseInstructions

+ 11
- 21
ReleaseInstructions View File

@@ -118,27 +118,17 @@ Note: This document was updated in the context of releasing Ant 1.7.

Revision 437509 Uebertragen.

9. Sign the distribution files using the following simple script

@TODO : document using commons-openpgp to sign the artefacts,
change the build file to do this
#!/bin/sh
# signing the various source and binary archives of the entire distribution
for i in `/usr/bin/find distribution \( -name "*.bz2" -o -name "*.zip" -o -name "*.gz" \)`
do
echo "Signing " $i
gpg -a -b --force-v3-sigs $i
done
# signing the maven artefacts
for i in `/usr/bin/find java-repository \( -name "*.pom" -o -name "*.jar" \)`
do
echo "Signing " $i
gpg -a -b --force-v3-sigs $i
done

The --force-v3-sigs will improve the interoperability with PGP 5.x,
see <http://www.gnupg.org/(en)/documentation/faqs.html#q5.5>.
9. Sign the distribution files using the script release/signit.xml

This script requires using commons-openpgp to sign the artefacts,

This tool can be checked out from
http:/svn.apache.org/repos/asf/commons/sandbox/openpgp/trunk
You have to build it using maven
You can create a property file .gnupg.properties in your home directory
with your key id
and pass your key passphrase on the command line with -Dpassword=****

Before you do that, ensure that the key you use is inside the KEYS
file in Ant's SVN repository


Loading…
Cancel
Save