* docs/release: Updated -- Savannah uses a new uploading scheme.
formatting
This commit is contained in:
parent
d785566330
commit
3b3f2baae4
@ -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.
|
||||
|
@ -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
|
||||
|
98
docs/release
98
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
|
||||
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 \
|
||||
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
|
||||
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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user