Thread (1 message) 1 message, 1 author, 2016-06-15

Re: How to keep different version numbers in different branches?

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:48:33

Stephen Kelly [off-list ref] writes:
Hi,

My project uses git and so far has only one branch, 'master'.

http://gitorious.org/grantlee/grantlee

I want to make a 0.1 release, so that would mean creating a 0.1 branch and 
updating files contained in the branch such as the README file and the CMake 
files and the api documentation to report version 0.1.0, and creating the 
0.1.0 tag. The next tag on that branch would be 0.1.1 etc. Simultaneously, 
the version number in those files is changes to 0.2.0 in the master branch.
You can have this number generated by your build script instead of
having to commit it. See what git does, for example. The command "git
describe" should help.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help