Re: [PATCH] Extract document version from git tag

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



On Thu, Dec 7, 2017 at 10:33 AM, Grant Likely <grant.likely@xxxxxxxxxxxx> wrote:
> Instead of hard coding the document version in the config file, use
> 'git describe' to get the version number from the tags and use that.
> Just like before, if the version string contains a '-', then it is not
> an official release and a watermark will be added to the PDF. This
> catches prereleases "-pre*", untagged revisions "-g<hash>", and
> uncommitted changes "-dirty".
>
> Signed-off-by: Grant Likely <grant.likely@xxxxxxx>
> ---
>  source/conf.py | 10 +++++++---
>  1 file changed, 7 insertions(+), 3 deletions(-)

Nice!

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe devicetree-spec" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Device Tree]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux Audio Users]     [Photos]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]

  Powered by Linux