summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorGaetan Semet <gaetan@xeberon.net>2018-01-05 14:31:03 +0100
committerStephen Finucane <stephenfin@redhat.com>2018-01-05 14:19:47 +0000
commit4c775e7890e90fc2ea77c66020659e52d6a61414 (patch)
tree7be48461caf9090e7f3fcd2ab523a7bb40aa4449 /doc
parent4e859e76d38ac0272068171c78dbf67fa13b438d (diff)
downloadpbr-4c775e7890e90fc2ea77c66020659e52d6a61414.tar.gz
Support v<semver> version
Allow protect tag (in gitlab, github) using "v*" regex. Change-Id: I3e6eb1031ae92349c5a9531b143b6470482664e7 Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
Diffstat (limited to 'doc')
-rw-r--r--doc/source/user/features.rst6
1 files changed, 6 insertions, 0 deletions
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