diff options
author | David Robillard <d@drobilla.net> | 2016-08-16 17:35:53 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-08-17 17:21:34 -0400 |
commit | d9ea77d474432893de33bc980130e9c18644c2aa (patch) | |
tree | acc1e871b6f3b927d59ca05626d6748fe5cb5b4a /wscript | |
parent | b0339e5350f4b9f41f534a7f17e4bec4947fcd5f (diff) | |
download | sratom-d9ea77d474432893de33bc980130e9c18644c2aa.tar.gz sratom-d9ea77d474432893de33bc980130e9c18644c2aa.tar.bz2 sratom-d9ea77d474432893de33bc980130e9c18644c2aa.zip |
Add target for generating release announcements
Diffstat (limited to 'wscript')
-rw-r--r-- | wscript | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -159,3 +159,14 @@ def fix_docs(ctx): def upload_docs(ctx): os.system("rsync -ravz --delete -e ssh build/doc/html/ drobilla@drobilla.net:~/drobilla.net/docs/sratom/") + +def posts(ctx): + path = str(ctx.path.abspath()) + autowaf.news_to_posts( + os.path.join(path, 'NEWS'), + {'title' : 'Sratom', + 'description' : autowaf.get_blurb(os.path.join(path, 'README')), + 'dist_pattern' : 'http://download.drobilla.net/sratom-%s.tar.bz2'}, + { 'Author' : 'drobilla', + 'Tags' : 'Hacking, LAD, LV2, RDF' }, + os.path.join(out, 'posts')) |