Wendy,

REVISION=`svn info | grep "Last Changed Rev" | cut -c 19-24`

then use $REVISION later..

On 8/4/06, Wendy Smoak < [EMAIL PROTECTED]> wrote:
On 8/4/06, Mike Kienenberger < [EMAIL PROTECTED]> wrote:
> What about the possiblity of naming these snapshot jars differently?
> As things stand, it's hard to know when a snapshot is different or
> what version to report against.
>
> We could do something simple like
>
> myfaces-core-1.1.4-rc1-bin.zip
> myfaces-core-1.1.4-rc2-bin.zip
>
> or something more clever like
>
> myfaces-core-1.1.4-r428631-bin.zip

Maven names them automatically based on the <artifactId> and <version>
in the pom.  I don't want to change the pom, because that will affect
the jars that are 'mvn deploy'ed to the m2 snapshot repo.

However, it should be possible to rename the assembly files as they
are scp'd up to minotaur.  The script I'm using is in the 'logs'
directory:
   http://people.apache.org/builds/myfaces/core-1.1.x/logs/

'svn info' will print out some information, including the revision number...
$ svn info | grep "Last Changed Rev" | cut -c 19-24

Now how do I capture that to use it later in the script?  Patches welcome. :)

--
Wendy



--
Grant Smith

Reply via email to