From: Matthieu Moy <Matthieu.Moy@grenoble-inp.fr>
To: Stephen Kelly <steveire@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: How to keep different version numbers in different branches?
Date: Mon, 05 Apr 2010 20:15:47 +0200 [thread overview]
Message-ID: <vpqhbnprcj0.fsf@bauges.imag.fr> (raw)
In-Reply-To: <hpcscv$umg$3@dough.gmane.org> (Stephen Kelly's message of "Mon\, 05 Apr 2010 16\:34\:07 +0200")
Stephen Kelly <steveire@gmail.com> 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/
next prev parent reply other threads:[~2010-04-05 18:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-05 14:34 How to keep different version numbers in different branches? Stephen Kelly
2010-04-05 17:50 ` Christian MICHON
2010-04-05 18:15 ` Matthieu Moy [this message]
2010-04-05 18:51 ` Avery Pennarun
2010-04-05 19:22 ` Matthieu Moy
2010-04-05 19:36 ` Avery Pennarun
2010-04-06 10:06 ` Stephen Kelly
2010-04-06 11:29 ` Steven Michalske
2010-04-05 19:17 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vpqhbnprcj0.fsf@bauges.imag.fr \
--to=matthieu.moy@grenoble-inp.fr \
--cc=git@vger.kernel.org \
--cc=steveire@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.