last-svn-commit-728-g010a91f Add generic symbolic links to the latest snapshot.

* lrde-upload.sh: Here. --- ChangeLog | 6 ++++++ lrde-upload.sh | 6 +++++- 2 files changed, 11 insertions(+), 1 deletions(-) diff --git a/ChangeLog b/ChangeLog index b565a26..4fe2371 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2011-01-13 Guillaume Lazzara <z@lrde.epita.fr> + + Add generic symbolic links to the latest snapshot. + + * lrde-upload.sh: Here. + 2010-11-29 Roland Levillain <roland@lrde.epita.fr> Honor `--without-qt' in configure. diff --git a/lrde-upload.sh b/lrde-upload.sh index 05a687e..c491891 100755 --- a/lrde-upload.sh +++ b/lrde-upload.sh @@ -71,14 +71,18 @@ mkdir -p $DEST find $DEST -maxdepth 1 -type f -mtime +1 -name 'olena-*-snapshot-*' \ -exec rm -f {} \; +# Delete old symbolic links. +rm -f $DEST/olena-$VERSION-$suffix.tar.gz $DEST/olena-$VERSION-$suffix.tar.bz2 + # Upload the `.tar.gz' tarball. cp -f olena-$VERSION.tar.gz $DEST/olena-$REV.tar.gz.tmp mv -f $DEST/olena-$REV.tar.gz.tmp $DEST/olena-$REV.tar.gz +ln -s $DEST/olena-$REV.tar.gz $DEST/olena-$VERSION-$suffix.tar.gz # Upload the `.tar.bz2' tarball. cp -f olena-$VERSION.tar.bz2 $DEST/olena-$REV.tar.bz2.tmp mv -f $DEST/olena-$REV.tar.bz2.tmp $DEST/olena-$REV.tar.bz2 - +ln -s $DEST/olena-$REV.tar.bz2 $DEST/olena-$VERSION-$suffix.tar.bz2 # Upload a copy of the reference manual and other documentation. mkdir -p $DEST_DOC -- 1.5.6.5
participants (1)
-
Guillaume Lazzara