Skip to content

Commit 53edee2

Browse files
committed
sanity_checks: accept dash in upstream version
1 parent ce96235 commit 53edee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/sanity_checks.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ def test_releases(self):
257257
t = f'{name}_{v}'
258258
ver, rev = split_release_version(v)
259259
with self.subTest(step='valid release version'):
260-
self.assertTrue(re.fullmatch('[a-z0-9._]+', ver))
260+
self.assertTrue(re.fullmatch('[a-z0-9._-]+', ver))
261261
self.assertTrue(re.fullmatch('[0-9]+', rev))
262262
if i == 0:
263263
with self.subTest(step='check_source_url'):

0 commit comments

Comments
 (0)