summaryrefslogtreecommitdiffstats
path: root/lib/metadata
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2021-01-08 19:03:37 (EST)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2021-01-08 19:03:37 (EST)
commitca5809655e41d96b3e9289f029200203d7ad736c (patch)
tree1a5598f6505c78c43ce92c520fca5e71092b621d /lib/metadata
parent7029b60525e864b2bcd5197fd7aeaa90a4bbb406 (diff)
metadata/proteanos: Allow epochs in versions
Diffstat (limited to 'lib/metadata')
-rw-r--r--lib/metadata/proteanos.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/metadata/proteanos.sh b/lib/metadata/proteanos.sh
index 7b235e5..59f2c14 100644
--- a/lib/metadata/proteanos.sh
+++ b/lib/metadata/proteanos.sh
@@ -19,6 +19,7 @@
_OB_NAME_RE_PROTEANOS='^[a-z0-9][a-z0-9+.-]+$'
_OB_VERSION_RE_PROTEANOS='^'
+_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'([1-9][0-9]*:)?'
_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'[0-9a-z.~+]+'
_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'(\+sip[1-9][0-9]*)?'
_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'(-[0-9]+)?'