Skip to content

Commit

Permalink
sanity_checks: accept dash in upstream version
Browse files Browse the repository at this point in the history
  • Loading branch information
rherilier committed Sep 22, 2024
1 parent ce96235 commit 53edee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/sanity_checks.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ def test_releases(self):
t = f'{name}_{v}'
ver, rev = split_release_version(v)
with self.subTest(step='valid release version'):
self.assertTrue(re.fullmatch('[a-z0-9._]+', ver))
self.assertTrue(re.fullmatch('[a-z0-9._-]+', ver))
self.assertTrue(re.fullmatch('[0-9]+', rev))
if i == 0:
with self.subTest(step='check_source_url'):
Expand Down

0 comments on commit 53edee2

Please sign in to comment.