5 if [[ $# -lt 2 ]]; then
6 echo Usage
: $0 VERSION SF_USERNAME
15 SF_MACHINE
='frs.sourceforge.net'
16 SF_TOPDIR
='/home/frs/project/scons'
18 # the build products are here:
20 cp -f ..
/..
/CHANGES.txt ..
/..
/RELEASE.txt .
21 cp -f ..
/..
/README-SF.rst .
/README.rst
28 $SF_USER@
$SF_MACHINE:$SF_TOPDIR/scons
/
31 # Upload main scons release files:
33 SCons-
$VERSION.
tar.gz \
35 CHANGES.txt RELEASE.txt \
36 $SF_USER@
$SF_MACHINE:$SF_TOPDIR/scons
/$VERSION/
40 scons-local-
$VERSION.
tar.gz \
41 scons-local-
$VERSION.
zip \
42 scons-local-
$VERSION.pyz \
43 CHANGES.txt RELEASE.txt \
44 $SF_USER@
$SF_MACHINE:$SF_TOPDIR/scons-local
/$VERSION/
48 # scons-src-$VERSION.tar.gz \
49 # scons-src-$VERSION.zip \
50 # CHANGES.txt RELEASE.txt \
51 # $SF_USER@$SF_MACHINE:$SF_TOPDIR/scons-src/$VERSION/
56 $SF_USER@
$SF_MACHINE:$SF_TOPDIR/
62 # Doc: copy the doc tgz over; we'll unpack later
64 scons-doc-
$VERSION.
tar.gz \
65 scons@scons.org
:public_html
/production
/doc
/$VERSION/
69 scons@scons.org
:public_html
/production
/
70 # Note that Announce.txt gets copied over to RELEASE.txt.
71 # This should be fixed at some point.
74 scons@scons.org
:public_html
/production
/RELEASE.txt
75 # Unpack the doc and repoint doc symlinks:
77 cd public_html/production/doc
79 tar xvf scons-doc-$VERSION.tar.gz
81 rm latest; ln -s $VERSION latest
82 rm production; ln -s $VERSION production
83 for f in HTML PDF EPUB PS TEXT; do rm -f \$f; ln -s $VERSION/\$f \$f; done
86 echo '***** Now manually update index.php, includes/versions.php and news-raw.xhtml on scons.org.'