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

Re: git problem



On Tue, Jan 25, 2011 at 04:09:57PM +0000, kuLa wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi guys (including lady's) :-)
> I'm having git repo with 2 branches upstream and debian (quite obvious).
> I'm an upstream maintainer, so after changes into upstream im switching
> into debian merging upstream into it and now the question:
> How to set this up to make git-buildpackage to change versions upstream
> or debian depending what has been changed. Git-buildpackage is not
> changing automaticly anything nor upstream version or debian package
> version if changes has been done in ex. d/rules.
> Final product is always foo_1.0.0-1_i386.deb it doesn't matter if I'll
> try --git-debian-tag or not.
> I read about grafts but concept of this is a bit hard to understand for
> my current setup.
> Any links or other piece of information which can help with this?
> And thx in advance for your time.

You need to add a new version in debian/changelog i.e. by doing

dh -v 1.0.1-1 "New upstream version."
debcommit -a

before running git-buildpackage.


Regards
Jan

-- 
Jan Dittberner - Debian Developer
GPG-key: 4096R/558FB8DD 2009-05-10
         B2FF 1D95 CE8F 7A22 DF4C  F09B A73E 0055 558F B8DD
http://www.dittberner.info/

Attachment: signature.asc
Description: Digital signature


Reply to: