summaryrefslogtreecommitdiffstats
path: root/lib/metadata
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-04-03 19:35:54 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-04-03 19:35:54 (EDT)
commite77a4c26ccf8ffb5b31727c596427ac3d63174b7 (patch)
treebd2a2e77a220c4548489555f66b9b1777aee5111 /lib/metadata
parent5cbcb3b5f91bea4149cba02544ccaff1f232328f (diff)
metadata/proteanos: Allow "+" and forbid "-" in upstream versions
Diffstat (limited to 'lib/metadata')
-rw-r--r--lib/metadata/proteanos.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/metadata/proteanos.sh b/lib/metadata/proteanos.sh
index d0066f5..4cc982d 100644
--- a/lib/metadata/proteanos.sh
+++ b/lib/metadata/proteanos.sh
@@ -19,7 +19,7 @@
_OB_NAME_RE_PROTEANOS='^[a-z0-9][a-z0-9+.-]+$'
_OB_VERSION_RE_PROTEANOS='^'
-_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'[0-9a-z.~-]+'
+_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}'(-[1-9][0-9]*)?'
_OB_VERSION_RE_PROTEANOS=${_OB_VERSION_RE_PROTEANOS}'(\+[a-z0-9]+~[1-9][0-9]*)?'