From 140f88d85020a7df1ed36803269956acc043f4f7 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Thu, 9 Apr 2020 14:28:29 +0200 Subject: Add release variables for autoship --- wscript | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'wscript') diff --git a/wscript b/wscript index 2c0d813..26d24f1 100644 --- a/wscript +++ b/wscript @@ -19,6 +19,11 @@ VERSION = PATCHAGE_VERSION top = '.' out = 'build' +# Release variables +uri = 'http://drobilla.net/sw/patchage' +dist_pattern = 'http://download.drobilla.net/patchage-%d.%d.%d.tar.bz2' +post_tags = ['Hacking', 'LAD', 'Patchage'] + def options(ctx): ctx.load('compiler_cxx') @@ -208,15 +213,3 @@ def build(bld): os.path.join('icons', 'scalable', 'patchage.svg')) bld.install_files('${MANDIR}/man1', bld.path.ant_glob('doc/*.1')) - - -def posts(ctx): - path = str(ctx.path.abspath()) - autowaf.news_to_posts( - os.path.join(path, 'NEWS'), - {'title': 'Patchage', - 'description': autowaf.get_blurb(os.path.join(path, 'README')), - 'dist_pattern': 'http://download.drobilla.net/patchage-%s.tar.bz2'}, - {'Author': 'drobilla', - 'Tags': 'Hacking, LAD, Patchage'}, - os.path.join(out, 'posts')) -- cgit v1.2.1