librsvg source for verification 2026-05-22

This commit is contained in:
2026-05-22 16:45:08 +08:00
commit 75af7ac721
2138 changed files with 161177 additions and 0 deletions

12
ci/utils.py Normal file
View File

@@ -0,0 +1,12 @@
import re
def get_project_version_str():
regex = re.compile(r" +version: '(\d+\.\d+\.\d+)',")
with open("meson.build") as f:
for line in f.readlines():
matches = regex.match(line)
if matches is not None:
version_str = matches.group(1)
return version_str
raise Exception('meson.build does not have a version string for the project')