Handle .x in branch names

This commit is contained in:
Unrud 2020-02-27 15:01:59 +01:00
parent 053dc33dbb
commit 03f69d0972

View file

@ -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)]