mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Allow for nightly build designations in Salt versions
This commit is contained in:
parent
a6291b17c1
commit
d62a119fc1
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ class SaltStackVersion(object):
|
|||
r'\.(?P<minor>[\d]{1,2})'
|
||||
r'(?:\.(?P<bugfix>[\d]{0,2}))?'
|
||||
r'(?:\.(?P<mbugfix>[\d]{0,2}))?'
|
||||
r'(?:(?P<pre_type>rc|a|b|alpha|beta)(?P<pre_num>[\d]{1}))?'
|
||||
r'(?:(?P<pre_type>rc|a|b|alpha|beta|nb)(?P<pre_num>[\d]{1}))?'
|
||||
r'(?:(?:.*)-(?P<noc>(?:[\d]+|n/a))-(?P<sha>[a-z0-9]{8}))?'
|
||||
)
|
||||
git_sha_regex = re.compile(r'(?P<sha>[a-z0-9]{7})')
|
||||
|
|
Loading…
Add table
Reference in a new issue