[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Releases and version numbers

From: Francis Irving
Subject: Re: Releases and version numbers
Date: Mon, 19 Feb 2001 14:27:15 +0000

On 19 Feb 2001 13:34:02 +0100, address@hidden (Kai
Gro├čjohann) wrote:

>Suppose I have a software package which contains of many individual
>files (a Perl module).  And suppose I want to make several releases.
>Then I'd make a tag to apply to all files.
>But how do I embed into the files the right version number?  I could
>use $Version$ or similar, but this would be the version of the file,
>not the release of the whole project.

I have a build script which

- Checks out the latest version
- Increments the release number (using bash and sed) in a file
- Commits this release number file
- Tags the source with the release number
- Compiles everything (for Perl, you don't need this bit ;-)

The code can then refer to the release number.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]