On 8/4/06, Mike Kienenberger <[EMAIL PROTECTED]> wrote:
> myfaces-core-1.1.4-rc1-bin.zip
> myfaces-core-1.1.4-rc2-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.
Right. I'm not suggesting changing anything other than the file
names at http://people.apache.org/builds/myfaces/core-1.1.x. I'm
assuming that these are static enough that someone could just do it by
hand as part of the release candidate process, couldn't they?
Now what would be great is if we could somehow get the revision number
into the manifest in the jar file! That would solve a lot of
reporting and management issues.
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...
$
Now how do I capture that to use it later in the script? Patches welcome. :)
I haven't had to do anything with shell scripting for a long time.
However, I think it might be done something like this:
variable=`svn info | grep "Last Changed Rev" | cut -c 19-24`
That's with backticks, not single quotes. Don't really play around
much on unix systems anymore.