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

Re: create Debian Source from GIT repository without tag



On Tue, Aug 16, 2016 at 05:00:02PM +0200, Adam Borowski wrote:
> If the repository contains any tags, I'd strongly recommend the output of
> "git describe --tags".  This will, beside DTRT when you're exactly on a
> tag (ie, on a release), produce version numbers of the form:
> <recent tag>-<# of commits>-g<short hash>, which is both monotonic if you
> fast-forward and can be given to git to unambigously refer to the commit
> you're uploading even to users of other branches.
> 
> For example, one of my projects is currently at 0.17-128-g8606a54.
This also will cause the package version to have nothing in common with
the actual software version. I doubt we want this.

-- 
WBR, wRAR

Attachment: signature.asc
Description: PGP signature


Reply to: