diff --git a/ChangeLog b/ChangeLog index 223569e22..222bf1555 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2012-01-06 Alexandre Duret-Lutz + + * lrde-upload.sh: Retrieve the package version from configure.ac. + 2012-01-05 Ala-Eddine Ben-Salem Fix detection of the last iteration of minimize_dfa(). diff --git a/lrde-upload.sh b/lrde-upload.sh index 67d6ca4dd..e0dec79d5 100755 --- a/lrde-upload.sh +++ b/lrde-upload.sh @@ -14,10 +14,13 @@ case $rev in *) rev="-$rev";; esac +# Retrieve the package version +VERSION=`autoconf --trace='AC_INIT:$2'` + rm -rf /lrde/dload/spot/spot-snapshot$rev.tmp cp -pR doc/spot.html /lrde/dload/spot/spot-snapshot$rev.tmp chmod -R a+rX /lrde/dload/spot/spot-snapshot$rev.tmp -mv -f spot-*.tar.gz /lrde/dload/spot/spot-snapshot$rev.tar.gz +mv -f spot-$VERSION.tar.gz /lrde/dload/spot/spot-snapshot$rev.tar.gz chmod a+rX /lrde/dload/spot/spot-snapshot$rev.tar.gz rm -rf /lrde/dload/spot/spot-snapshot$rev.html mv -f /lrde/dload/spot/spot-snapshot$rev.tmp /lrde/dload/spot/spot-snapshot$rev.html