* docs/release: Updated -- Savannah uses a new uploading scheme. formatting
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149
diff --git a/ChangeLog b/ChangeLog
index 1c8ba2f..62bba20 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-01-25 Werner Lemberg <wl@gnu.org>
+
+ * docs/release: Updated -- Savannah uses a new uploading scheme.
+
2007-01-25 David Turner <david@freetype.org>
* src/cff/cffload.c (cff_index_get_pointers): Improve previous fix.
diff --git a/docs/CHANGES b/docs/CHANGES
index 39dca30..fb0c08a 100644
--- a/docs/CHANGES
+++ b/docs/CHANGES
@@ -20,6 +20,7 @@ CHANGES BETWEEN 2.3.0 and 2.3.1
Since the transformation is entirely linear, this still provides
very good approximations to the original glyph shapes.
+
======================================================================
CHANGES BETWEEN 2.3.0 and 2.2.1
diff --git a/docs/release b/docs/release
index e5540c6..e5032b7 100644
--- a/docs/release
+++ b/docs/release
@@ -7,7 +7,7 @@ How to prepare a new release
. Update version numbers in all files where necessary (for example, do
a grep for both `2.3.0' and `230' for release 2.3.0).
-. Jamfile (RefDoc): Update the `--title' option.
+. builds/unix/configure.raw: Update `version_info'.
. docs/CHANGES: Document differences to last release.
@@ -34,45 +34,77 @@ How to prepare a new release
except the `reference' subdirectory. Do *not* use option `-l' from
zip!
-. Run the following script (updating `VERSION' and `version' with the
- actual version strings) to upload the bundles to both Savannah and
- SourceForge. `gnupload' is a script taken from the automake bundle.
+ Run the following script (with updated `$VERSION' and
+ `$SAVANNAH_USER' variables) to sign and upload the bundles to both
+ Savannah and SourceForge. The signing code has been taken from the
+ `gnupload' script (part of the automake bundle).
+
+ #!/bin/sh
VERSION=2.3.0
- version=230
-
- gnupload --to savannah.nongnu.org:freetype \
- freetype-$VERSION.tar.gz \
- freetype-$VERSION.tar.bz2 \
- ft$version.zip \
- ft2demos-$VERSION.tar.gz \
- ft2demos-$VERSION.tar.bz2 \
- ftdmo$version.zip \
- freetype-doc-$VERSION.tar.gz \
- freetype-doc-$VERSION.tar.bz2 \
- ftdoc$version.zip
-
- for f in freetype-$VERSION.tar.gz \
- freetype-$VERSION.tar.gz.sig \
- freetype-$VERSION.tar.bz2 \
- freetype-$VERSION.tar.bz2.sig \
- ft$version.zip \
- ft$version.zip.sig \
- ft2demos-$VERSION.tar.gz \
- ft2demos-$VERSION.tar.gz.sig \
- ft2demos-$VERSION.tar.bz2 \
- ft2demos-$VERSION.tar.bz2.sig \
- ftdmo$version.zip \
- ftdmo$version.zip.sig \
- freetype-doc-$VERSION.tar.gz \
- freetype-doc-$VERSION.tar.gz.sig \
- freetype-doc-$VERSION.tar.bz2 \
- freetype-doc-$VERSION.tar.bz2.sig \
- ftdoc$version.zip \
- ftdoc$version.zip.sig ; do
+ SAVANNAH_USER=wl
+
+ #####################################################################
+
+ GPG='/usr/bin/gpg --batch --no-tty'
+
+ version=`echo $VERSION | sed "s/\\.//g"`
+
+ UNIX_PACKAGES="freetype ft2demos freetype-doc"
+ WINDOWS_PACKAGES="ft ftdmo ftdoc"
+ UNIX_ZIP="tar.gz tar.bz2"
+ WINDOWS_ZIP="zip"
+
+ PACKAGE_LIST=
+ for i in $UNIX_PACKAGES; do
+ for j in $UNIX_ZIP; do
+ PACKAGE_LIST="$PACKAGE_LIST $i-$VERSION.$j"
+ done
+ done
+ for i in $WINDOWS_PACKAGES; do
+ for j in $WINDOWS_ZIP; do
+ PACKAGE_LIST="$PACKAGE_LIST $i$version.$j"
+ done
+ done
+
+ set -e
+ unset passphrase
+
+ PATH=/empty echo -n "Enter GPG passphrase: "
+ stty -echo
+ read -r passphrase
+ stty echo
+ echo
+
+ for f in $PACKAGE_LIST; do
+ if test ! -f $f; then
+ echo "$0: Cannot find \`$f'" 1>&2
+ exit 1
+ else
+ :
+ fi
+ done
+
+ for f in $PACKAGE_LIST; do
+ echo "Signing $f..."
+ rm -f $f.sig
+ echo $passphrase | $GPG --passphrase-fd 0 -ba -o $f.sig $f
+ done
+
+ SIGNATURE_LIST=
+ for i in $PACKAGE_LIST; do
+ SIGNATURE_LIST="$SIGNATURE_LIST $i.sig"
+ done
+
+ scp $PACKAGE_LIST $SIGNATURE_LIST \
+ $SAVANNAH_USER@dl.sv.nongnu.org:/releases/freetype/
+
+ for f in $PACKAGE_LIST $SIGNATURE_LIST; do
ncftpput upload.sf.net /incoming $f
done
+ # EOF
+
. While files on savannah.gnu.org are automatically moved to the right
directory, it must be done manually on SourceForge. Do that now.