* docs/release: Updated -- Savannah uses a new uploading scheme.

formatting
This commit is contained in:
Werner Lemberg 2007-01-25 22:14:40 +00:00
parent d785566330
commit 3b3f2baae4
3 changed files with 70 additions and 33 deletions

View File

@ -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> 2007-01-25 David Turner <david@freetype.org>
* src/cff/cffload.c (cff_index_get_pointers): Improve previous fix. * src/cff/cffload.c (cff_index_get_pointers): Improve previous fix.

View File

@ -20,6 +20,7 @@ CHANGES BETWEEN 2.3.0 and 2.3.1
Since the transformation is entirely linear, this still provides Since the transformation is entirely linear, this still provides
very good approximations to the original glyph shapes. very good approximations to the original glyph shapes.
====================================================================== ======================================================================
CHANGES BETWEEN 2.3.0 and 2.2.1 CHANGES BETWEEN 2.3.0 and 2.2.1

View File

@ -7,7 +7,7 @@ How to prepare a new release
. Update version numbers in all files where necessary (for example, do . 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). 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. . 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 except the `reference' subdirectory. Do *not* use option `-l' from
zip! zip!
. Run the following script (updating `VERSION' and `version' with the Run the following script (with updated `$VERSION' and
actual version strings) to upload the bundles to both Savannah and `$SAVANNAH_USER' variables) to sign and upload the bundles to both
SourceForge. `gnupload' is a script taken from the automake bundle. 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=2.3.0
version=230 SAVANNAH_USER=wl
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 \ GPG='/usr/bin/gpg --batch --no-tty'
freetype-$VERSION.tar.gz.sig \
freetype-$VERSION.tar.bz2 \ version=`echo $VERSION | sed "s/\\.//g"`
freetype-$VERSION.tar.bz2.sig \
ft$version.zip \ UNIX_PACKAGES="freetype ft2demos freetype-doc"
ft$version.zip.sig \ WINDOWS_PACKAGES="ft ftdmo ftdoc"
ft2demos-$VERSION.tar.gz \ UNIX_ZIP="tar.gz tar.bz2"
ft2demos-$VERSION.tar.gz.sig \ WINDOWS_ZIP="zip"
ft2demos-$VERSION.tar.bz2 \
ft2demos-$VERSION.tar.bz2.sig \ PACKAGE_LIST=
ftdmo$version.zip \ for i in $UNIX_PACKAGES; do
ftdmo$version.zip.sig \ for j in $UNIX_ZIP; do
freetype-doc-$VERSION.tar.gz \ PACKAGE_LIST="$PACKAGE_LIST $i-$VERSION.$j"
freetype-doc-$VERSION.tar.gz.sig \ done
freetype-doc-$VERSION.tar.bz2 \ done
freetype-doc-$VERSION.tar.bz2.sig \ for i in $WINDOWS_PACKAGES; do
ftdoc$version.zip \ for j in $WINDOWS_ZIP; do
ftdoc$version.zip.sig ; 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 ncftpput upload.sf.net /incoming $f
done done
# EOF
. While files on savannah.gnu.org are automatically moved to the right . While files on savannah.gnu.org are automatically moved to the right
directory, it must be done manually on SourceForge. Do that now. directory, it must be done manually on SourceForge. Do that now.