From d005a7f5fd4156eb03b33cdea0e21936419a632b Mon Sep 17 00:00:00 2001 From: ousttrue Date: Tue, 25 Aug 2020 21:04:27 +0900 Subject: [PATCH] Bump version to 0.59.0 --- Assets/MeshUtility/package.json | 21 ++++++++++------ .../UniVRM/Editor/Format/VRMVersionMenu.cs | 25 ++++++++++++++++++- .../VRM/UniVRM/Scripts/Format/VRMVersion.cs | 6 ++--- Assets/VRM/package.json | 6 ++--- Assets/VRMShaders/package.json | 2 +- 5 files changed, 44 insertions(+), 16 deletions(-) diff --git a/Assets/MeshUtility/package.json b/Assets/MeshUtility/package.json index 0fe3b9b86..bd217070a 100644 --- a/Assets/MeshUtility/package.json +++ b/Assets/MeshUtility/package.json @@ -1,9 +1,14 @@ { - "name" : "com.vrmc.meshutility", - "displayName" : "MeshUtility", - "version" : "0.58.1", - "unity" : "2018.4", - "description" : "MeshUtility is a package for mesh separation, etc. \n\nCheck out the latest information here: ", - "keywords" : [ "mesh" ], - "author" : { "name": "VRM Consortium" } -} \ No newline at end of file +{ + "name": "com.vrmc.meshutility", + "version": "0.59.0", + "displayName": "MeshUtility", + "unity": "2018.4", + "description": "MeshUtility is a package for mesh separation, etc. \n\nCheck out the latest information here: ", + "keywords": [ + "mesh" + ], + "author": { + "name": "VRM Consortium" + } +} diff --git a/Assets/VRM/UniVRM/Editor/Format/VRMVersionMenu.cs b/Assets/VRM/UniVRM/Editor/Format/VRMVersionMenu.cs index b0956d809..95e3b51cf 100644 --- a/Assets/VRM/UniVRM/Editor/Format/VRMVersionMenu.cs +++ b/Assets/VRM/UniVRM/Editor/Format/VRMVersionMenu.cs @@ -37,6 +37,24 @@ namespace VRM }} }} "; + + const string MeshUtilityPath = "Assets/MeshUtility/package.json"; + const string MeshUtilityTemplate = @"{{ +{{ + ""name"": ""com.vrmc.meshutility"", + ""version"": ""{0}.{1}.{2}"", + ""displayName"": ""MeshUtility"", + ""unity"": ""2018.4"", + ""description"": ""MeshUtility is a package for mesh separation, etc. \n\nCheck out the latest information here: "", + ""keywords"": [ + ""mesh"" + ], + ""author"": {{ + ""name"": ""VRM Consortium"" + }} +}} +"; + const string VRMPackagePath = "Assets/VRM/package.json"; const string VRMPackageTemplate = @"{{ ""name"": ""com.vrmc.univrm"", @@ -54,7 +72,8 @@ namespace VRM ""name"": ""VRM Consortium"" }}, ""dependencies"": {{ - ""com.vrmc.vrmshaders"": ""{0}.{1}.{2}"" + ""com.vrmc.vrmshaders"": ""{0}.{1}.{2}"", + ""com.vrmc.meshutility"": ""{0}.{1}.{2}"" }} }} "; @@ -96,6 +115,10 @@ namespace VRM values[0], values[1], values[2]), utf8); + File.WriteAllText(MeshUtilityPath, string.Format(MeshUtilityTemplate, + values[0], + values[1], + values[2]), utf8); File.WriteAllText(VRMPackagePath, string.Format(VRMPackageTemplate, values[0], values[1], diff --git a/Assets/VRM/UniVRM/Scripts/Format/VRMVersion.cs b/Assets/VRM/UniVRM/Scripts/Format/VRMVersion.cs index 01b2e60f4..77872c4f4 100644 --- a/Assets/VRM/UniVRM/Scripts/Format/VRMVersion.cs +++ b/Assets/VRM/UniVRM/Scripts/Format/VRMVersion.cs @@ -4,8 +4,8 @@ namespace VRM public static partial class VRMVersion { public const int MAJOR = 0; - public const int MINOR = 58; - public const int PATCH = 1; - public const string VERSION = "0.58.1"; + public const int MINOR = 59; + public const int PATCH = 0; + public const string VERSION = "0.59.0"; } } diff --git a/Assets/VRM/package.json b/Assets/VRM/package.json index 4eebbfced..67b4e71d2 100644 --- a/Assets/VRM/package.json +++ b/Assets/VRM/package.json @@ -1,6 +1,6 @@ { "name": "com.vrmc.univrm", - "version": "0.58.1", + "version": "0.59.0", "displayName": "VRM", "description": "VRM importer", "unity": "2018.4", @@ -14,7 +14,7 @@ "name": "VRM Consortium" }, "dependencies": { - "com.vrmc.vrmshaders": "0.58.1", - "com.vrmc.meshutility": "0.58.1" + "com.vrmc.vrmshaders": "0.59.0", + "com.vrmc.meshutility": "0.59.0" } } diff --git a/Assets/VRMShaders/package.json b/Assets/VRMShaders/package.json index d46fc4983..c8a10224e 100644 --- a/Assets/VRMShaders/package.json +++ b/Assets/VRMShaders/package.json @@ -1,6 +1,6 @@ { "name": "com.vrmc.vrmshaders", - "version": "0.58.1", + "version": "0.59.0", "displayName": "VRM Shaders", "description": "VRM Shaders", "unity": "2018.4",