software release methodology

Nathan Meyers nmeyers-BigylZdZcsdmcu3hnIyYJQ at public.gmane.org
Mon Jul 16 08:59:05 EDT 2007


Stephen Adler wrote:
> Guys,
> 
> For those of you who are actively involved in software projects, I was 
> wondering how you go about giving your software project a version 
> number. Specifically, how do you tag the version string in your code so 
> that when you do something like
> 
>   myexecutable --version

In my java/ant/cvs environment, we use a hacky but effective solution. 
During the build, an ant target reads the version tag out of a nearby 
CVS/Tag file and generates a Java properties file encapsulating the 
version name.

Nathan

> 
> then prints out the version number of the software. Are there methods 
> within code repository tools like subversion or cvs which will fill in a 
> string or something with a version number or tag string so that when you 
> do a checkout, it automatically replaces the string? Or do you have to 
> manually change a string constant within your code and then commit the 
> change to the released version of the code?
> 
> Cheers. Steve.
> 
> 


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.






More information about the Discuss mailing list