From 03f69d0972c3f209aafa477117b2c95a7fb5eddb Mon Sep 17 00:00:00 2001 From: Unrud Date: Thu, 27 Feb 2020 15:01:59 +0100 Subject: [PATCH] Handle .x in branch names --- documentation-generator/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation-generator/run.py b/documentation-generator/run.py index 93a74994..0a056f8e 100755 --- a/documentation-generator/run.py +++ b/documentation-generator/run.py @@ -32,7 +32,7 @@ PANDOC_EXE = "pandoc" PANDOC_DOWNLOAD = ("https://github.com/jgm/pandoc/releases/download/" "2.9.2/pandoc-2.9.2-1-amd64.deb") BRANCH_ORDERING = [ # Format: (REGEX, ORDER, DEFAULT) - (r'v?\d+(?:\.\d+)*', 0, True), + (r'v?\d+(?:\.\d+)*(?:\.x)*', 0, True), (r'.*', 1, False)]