From 59c648ce96ab203d966e6a65387d1deb42cf3969 Mon Sep 17 00:00:00 2001 From: Joshua Boniface Date: Tue, 9 Apr 2019 00:15:36 -0400 Subject: [PATCH] Fix version strings and readd name to version frag --- build_plugin.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build_plugin.py b/build_plugin.py index bf1c523..b46f200 100644 --- a/build_plugin.py +++ b/build_plugin.py @@ -48,7 +48,7 @@ def build_plugin(project): return False build_cfg = manifest.load_manifest(manifest_file) - project_version = build_cfg['version'] + ".0" + project_version = "{}.0".format(build_cfg['version']) # move into the project directory revdir = os.getcwd() @@ -116,7 +116,7 @@ def generate_plugin_manifest(project, build_cfg, bin_md5sum): project_plugin_description = build_cfg['description'] project_plugin_category = build_cfg['category'] project_plugin_owner = build_cfg['owner'] - project_version = build_cfg['version'] + project_version = "{}.0".format(build_cfg['version']) jellyfin_version = build_cfg['jellyfin_version'] @@ -135,6 +135,7 @@ def generate_plugin_manifest(project, build_cfg, bin_md5sum): plugin_manifest_existing_version_fragments.append(version) plugin_manifest_new_version_fragment = [{ + "name": project_plugin_nicename, "versionStr": project_version, "classification": "Release", "description": "Release",