aboutsummaryrefslogtreecommitdiffstats
path: root/lv2specgen/lv2specgen.py
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2022-08-12 19:22:10 -0400
committerDavid Robillard <d@drobilla.net>2022-08-12 19:22:10 -0400
commit99516d02d3a8c5b6b37bb34b40fc1c47494f0043 (patch)
treec994e535677bbd5802d4dcfef946441a77ef3aa8 /lv2specgen/lv2specgen.py
parenta2715cb4f9a52a665363c2127f92477593cf5279 (diff)
downloadlv2-99516d02d3a8c5b6b37bb34b40fc1c47494f0043.tar.xz
Warn when a stable release description has no file-release
Diffstat (limited to 'lv2specgen/lv2specgen.py')
-rwxr-xr-xlv2specgen/lv2specgen.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lv2specgen/lv2specgen.py b/lv2specgen/lv2specgen.py
index 5f06af3..3345b5a 100755
--- a/lv2specgen/lv2specgen.py
+++ b/lv2specgen/lv2specgen.py
@@ -1092,6 +1092,8 @@ def specHistoryEntries(m, subject, entries):
if dist is not None:
entries[(getObject(created), getObject(dist))] = entry
+ elif int(rev.split(".")[-1]) % 2 == 0:
+ print("warning: %s %s has no file-release" % (subject, rev))
return entries