Re: Debian package from scratch, git to pristine-tar
On Sun, Jul 8, 2018 at 10:39 AM Tong Sun <pkgoyq.xpt@neverbox.com> wrote:
> $ grep -B1 upstream-tag ~/.gbp.conf
> [DEFAULT]
> upstream-tag = v%(version)s
>
> $ gbp buildpackage --git-pristine-tar --git-pristine-tar-commit
> dh clean --with autotools_dev
> dh_testdir
> dh_auto_clean
> dh_autotools-dev_restoreconfig
> dh_clean
> gbp:warning: Pristine-tar branch "pristine-tar" not found
> gbp:info: Creating /sysvol/dg/shc/shc_3.9.6.orig.tar.gz
> gbp:error: v3.9.6 is not a valid treeish
Except for misunderstanding the gbp work flow. This is error is caused by
> [DEFAULT]
> upstream-tag = v%(version)s
It should be `upstream-tag = %(version)s`
--
Best regards,
Shengjing Zhu
Reply to: