From 4c775e7890e90fc2ea77c66020659e52d6a61414 Mon Sep 17 00:00:00 2001 From: Gaetan Semet Date: Fri, 5 Jan 2018 14:31:03 +0100 Subject: Support v version Allow protect tag (in gitlab, github) using "v*" regex. Change-Id: I3e6eb1031ae92349c5a9531b143b6470482664e7 Signed-off-by: Gaetan Semet --- doc/source/user/features.rst | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'doc/source/user') diff --git a/doc/source/user/features.rst b/doc/source/user/features.rst index 2a4c25c..fb82255 100644 --- a/doc/source/user/features.rst +++ b/doc/source/user/features.rst @@ -17,6 +17,12 @@ If the currently checked out revision is not tagged, then we take the last tagged version number and increment it to get a minimum target version. +.. note:: + + ``pbr`` support bare version tag (ex: ``0.1.0``) and version prefixed with + ``v`` or ``V`` (ex: ``v0.1.0``) + + We then walk git history back to the last release. Within each commit we look for a Sem-Ver: pseudo header, and if found parse it looking for keywords. Unknown symbols are not an error (so that folk can't wedge pbr or break their -- cgit v1.2.1