aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-04-26 15:45:02 +0200
committerDavid Robillard <d@drobilla.net>2020-04-26 15:45:02 +0200
commit4accfb90705f678107cf15360c7159aba1107cbb (patch)
tree844eb8e0dd57e5ac074ccd3d4345ec8e707e3476 /wscript
parent3f6602ff5569b8c7ff8521c34992d99030a1bb8d (diff)
downloadlv2-4accfb90705f678107cf15360c7159aba1107cbb.tar.xz
Fix top level news generation for core specification
Diffstat (limited to 'wscript')
-rw-r--r--wscript10
1 files changed, 8 insertions, 2 deletions
diff --git a/wscript b/wscript
index 7d4fd15..06a7080 100644
--- a/wscript
+++ b/wscript
@@ -630,13 +630,19 @@ def _get_news_entries(ctx):
# Add items from every specification
for specdir in specdirs(ctx.path):
name = os.path.basename(specdir.abspath())
- entries = autoship.read_ttl_news(name, ttl_files(ctx.path, specdir))
+ files = list(ttl_files(ctx.path, specdir))
+ if name == "core":
+ files = [f for f in files if (not f.endswith('/meta.ttl') and
+ not f.endswith('/people.ttl') and
+ not f.endswith('/manifest.ttl'))]
+
+ entries = autoship.read_ttl_news(name, files)
def add_items(lv2_version, name, items):
for item in items:
lv2_entries[lv2_version]["items"] += ["%s: %s" % (name, item)]
- if entries and name != "core":
+ if entries:
latest_revision = sorted(entries.keys(), reverse=True)[0]
for revision, entry in entries.items():
if "dist" in entry: