From febffc4e0c30b272fa1dc16d169998babcac35d0 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Mon, 7 Jul 2014 19:53:15 +0000 Subject: [PATCH] * automated deployment and update of Synology Package Source descriptor --- build.xml | 12 +++++++++++- website/syno.json | 42 +++++++++++++++++++++--------------------- 2 files changed, 32 insertions(+), 22 deletions(-) diff --git a/build.xml b/build.xml index deac7a9d..431252a7 100644 --- a/build.xml +++ b/build.xml @@ -644,12 +644,22 @@ + + + + def releaseFeed = new URL("http://sourceforge.net/projects/filebot/files/filebot/FileBot_${properties['version']}//list") + def spk = new groovy.json.JsonSlurper().parse(releaseFeed).find{ it.key.endsWith('.spk') }.value + properties['spk.md5'] = spk.md5 + + + - + + diff --git a/website/syno.json b/website/syno.json index 1b1110ec..f9bfe37c 100644 --- a/website/syno.json +++ b/website/syno.json @@ -4,25 +4,25 @@ * Package Center -> Settings -> Package Sources -> Add -> Name: FileBot and Location: http://packages.filebot.net/syno.json -> OK */ [ - { - "dname": "FileBot", - "desc": "FileBot is the ultimate tool for organizing and renaming your movies, TV shows or anime, as well as downloading subtitles and artwork. It's smart and just works.", - "maintainer": "rednoah", - "distributor": "FileBot", - "distributor_url": "http://www.filebot.net/", - "beta": false, - "qinst": true, - "qupgrade": true, - "qstart": true, - "silent_upgrade": true, - "icon": "http://i.imgur.com/bxHSJp9.png", - "snapshot": [ - "http://i.imgur.com/FozbUS0.png" - ], - "package": "filebot", - "version": "@{version}", - "link": "https://downloads.sourceforge.net/project/filebot/filebot/HEAD/FileBot_4.1.2/filebot-4.1-noarch.spk", - "size": "31457280", - "md5": "32e87d89c960214a61531ff478f8ecf4" - } + { + "dname": "FileBot", + "desc": "FileBot is the ultimate tool for organizing and renaming your movies, TV shows or anime, as well as downloading subtitles and artwork. It's smart and just works.", + "maintainer": "rednoah", + "distributor": "FileBot", + "distributor_url": "http://www.filebot.net/", + "beta": false, + "qinst": true, + "qupgrade": true, + "qstart": true, + "silent_upgrade": true, + "icon": "http://i.imgur.com/bxHSJp9.png", + "snapshot": [ + "http://i.imgur.com/FozbUS0.png" + ], + "package": "filebot", + "version": "@{version}", + "link": "https://downloads.sourceforge.net/project/filebot/filebot/FileBot_@{version}/filebot-@{version}-noarch.spk", + "size": "31457280", + "md5": "@{spk.md5}" + } ] \ No newline at end of file