July 8, 201510 yr I've just posted an article at http://www.linuxserver.io/index.php/2015/07/08/unraid-plugin-authors-automate-the-plg-process-after-committing-to-github/ that some of you might find useful. Basically whenever I push a commit on GitHub, my .plg files are automatically updated with the new location of the zip file and a new version number. The version number is determined by creating a JSON file that says does this file exist? if no, create it and set the date to yyyy-mm-dd and integer to 1, if it does exist has the date changed? If no then increase the integer, if it has store the new date and set the integer to 1. Then it simply set the version number as a combination of the two. Hope some of you find it useful.
Archived
This topic is now archived and is closed to further replies.