See libparted/ChangeLog and parted/ChangeLog.
==============================================================================
+2006-10-06 David Cantrell <dcantrell@redhat.com>
+ * scripts/release/tarball_upload.sh: Support the -a (or --alpha) switch
+ on the tarball upload script. This switch will upload the release to
+ alpha.gnu.org rather than ftp.gnu.org.
+
2006-09-15 David Cantrell <dcantrell@redhat.com>
* doc/pt_BR/partprobe.8.pt_BR.po: Removed extra double quote at the end
of line 6.
#set -x
SRCDIR=.
+FTPURL=ftp://ftp-upload.gnu.org/incoming/ftp/
+
+case $1 in
+ -a|--alpha)
+ FTPURL=ftp://ftp-upload.gnu.org/incoming/alpha/ ;;
+ -?|--help)
+ echo "Upload tarball to ftp.gnu.org"
+ echo "Usage: $(basename $0) [option]"
+ echo "Options:"
+ echo " -a, --alpha Upload to alpha.gnu.org"
+ echo " -?, --help Display usage screen"
+ exit 0 ;;
+esac
cd $SRCDIR
SIG=parted-$VERSION.tar.$EXT.sig
DIRECTIVE=$TARBALL.directive
for f in $TARBALL $SIG $DIRECTIVE.asc; do
- curl --upload-file $PWD/$f \
- 'ftp://ftp-upload.gnu.org/incoming/ftp/'
-
+ curl --upload-file $PWD/$f $FTPURL
if [ $? -eq 0 ]; then
echo "-> successfully uploaded $f."
else
done
message "* all files uploaded."
-