[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: How to get the version number out?

From: Kenny Leung <kenny_leung_at_pobox.com>
Date: 2007-02-16 17:02:15 CET

Hi Andy.

I suspect this will only work with a checked-out copy of the project,
but not an exported copy, is that correct?

-Kenny

On Feb 15, 2007, at 7:39 PM, Andy Levy wrote:

> On 2/15/07, Kenny Leung <kenny_leung@pobox.com> wrote:
>> Hi All.
>>
>> As part of our release process, I would like to "burn" the version
>> number into the binary. I thought an easy way would be to create a
>> file in the project directory with something like #define VERSION XXX
>> upon export. However, there does not seem to be a post-export hook.
>
> Have you seen http://subversion.tigris.org/faq.html#version-value-
> in-source ?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 16 17:02:47 2007

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.