summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-04-09 14:28:29 +0200
committerDavid Robillard <d@drobilla.net>2020-04-09 14:28:29 +0200
commit140f88d85020a7df1ed36803269956acc043f4f7 (patch)
tree36c699b902db19c9d1548004fd2ed527ad4465cf
parent52ad216ef8dbd2dce699c5b6df2b289b3e1324e5 (diff)
downloadpatchage-140f88d85020a7df1ed36803269956acc043f4f7.tar.gz
patchage-140f88d85020a7df1ed36803269956acc043f4f7.tar.bz2
patchage-140f88d85020a7df1ed36803269956acc043f4f7.zip
Add release variables for autoship
-rw-r--r--wscript17
1 files changed, 5 insertions, 12 deletions
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'))