On 19 Feb 2001 13:34:02 +0100, [EMAIL PROTECTED] (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.

Francis

_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs

Reply via email to