[git-buildpackage] gbp does not recognize the newly merged & tagged upstream version

Lukasz Walewski lwalewski at s-can.at
Thu Apr 20 13:28:25 CEST 2017


I am trying to use git-buildpackage to build debian packages with custom software managed in a git repo. The software is developed by a local team and releases are marked with git tags only, no upstream tarballs are available. I tried to follow the documentation (http://honk.sigxcpu.org/projects/git-buildpackage/manual-html/gbp.import.html#GBP.IMPORT.UPSTREAM-GIT) and configured my debian branch accordingly.

I was able to create the package with the initial version of my software, which was tagged as 'v1.0.2'. However, I am not able to merge the next "upstream" release tagged 'v1.0.3'. I do the following:

git checkout debian
git fetch
git merge v1.0.3
gbp dch --snapshot --auto
gbp buildpackage --git-ignore-new -us -uc

But, gbp builds the version 1.0.2 and does not capture the 1.0.3:

dpkg-buildpackage: source version 1.0.2-2

I got somehow lost and cannot find out what am I doing wrong. I would be grateful for any help.

Best regards,
Lukasz Walewski


scan Messtechnik GmbH
Brigittagasse 22-24
A-1200 Wien/Vienna
tel. +43 1 219 73 93 - 0
fax +43 1 219 73 93 - 12
office at s-can.at

Geschaeftsfuehrer/President: DI Andreas Weingartner
Firmenbuchnummer/Incorporation No: FN178880i
Gerichtsstand/Court of Jurisdiction: Wien/Vienna


s::can - intelligent, optical, online

i::scan - compact, precise and affordable!
UV254::NTU::FTU::TOC::DOC::COD::BOD::Colour ...and many more to come!

More information about the git-buildpackage mailing list