Re: Build number

From: John Huss (johnthus..mail.com)
Date: Mon May 22 2006 - 13:41:06 EDT

  • Next message: Mike Schrag: "Re: Build number"

    "cut" in bash?

    On 5/22/06, Anjo Krank <kran..ogicunited.com> wrote:
    >
    > Am 22.05.2006 um 19:07 schrieb Mike Schrag:
    >
    > > I like this idea ...
    > >
    > > On May 22, 2006, at 10:19 AM, Anjo Krank wrote:
    > >
    > >> Wouldn't is be easier to just take the svn repository version that
    > >> was active when the build started?
    > >>
    > >> echo 2.0.0.`svn info|grep Revision|cut -d ' ' -f 2`
    > >> >buildserver.version
    > >>
    > >> -->2.0.0.2709
    >
    > Except that it puts a ^J at the end of the version and ant appends it
    > to the build number... is there a "chop" for the shell or some one-
    > liner in perl?
    >
    > Cheers, Anjo
    >



    This archive was generated by hypermail 2.0.0 : Mon May 22 2006 - 13:41:07 EDT