You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2005/06/30 03:05:26 UTC

svn commit: r202462 - /spamassassin/trunk/build/update_devel

Author: jm
Date: Wed Jun 29 18:05:25 2005
New Revision: 202462

URL: http://svn.apache.org/viewcvs?rev=202462&view=rev
Log:
fix up version-mangling to produce correct results

Modified:
    spamassassin/trunk/build/update_devel

Modified: spamassassin/trunk/build/update_devel
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/build/update_devel?rev=202462&r1=202461&r2=202462&view=diff
==============================================================================
--- spamassassin/trunk/build/update_devel (original)
+++ spamassassin/trunk/build/update_devel Wed Jun 29 18:05:25 2005
@@ -29,9 +29,8 @@
 make version.env || exit $?
 . version.env
 
-# $VERSION will be x.y.z for released not marked $IS_DEVEL_BUILD, else
-# x-y-latest while $DIST_VERSION is always the x.y.z variant.
-VERSION=`echo $FULL_VERSION | perl -pe 's/\.\d+(-.*)-r\d+$/-dev/'`
+# "3.1.0-pre2-r202405" should appear as "3.1.0-pre2" after this!
+VERSION=`echo $FULL_VERSION | perl -pe 's/-r\d+$//'`
 
 DISTDNAME=$DISTNAME-$DIST_VERSION
 DISTVNAME=$DISTNAME-$VERSION