From 2bddeeeb7e163d3976a6b06f62629c2d6462c03f Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Tue, 13 Feb 2024 14:59:03 +0900 Subject: [PATCH 1/2] feat: update reference builder on update-packagejson --- .github/workflows/build-release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-release.yml b/.github/workflows/build-release.yml index 76c1eea5..d0edc776 100644 --- a/.github/workflows/build-release.yml +++ b/.github/workflows/build-release.yml @@ -19,6 +19,8 @@ jobs: file-path: | ./src/R3.Unity/Assets/R3.Unity/package.json ./src/R3.Godot/addons/R3.Godot/plugin.cfg + dotnet-run-path: + ./sandbox/ReferenceBuilder/ReferenceBuilder.csproj tag: ${{ inputs.tag }} dry-run: ${{ inputs.dry-run }} From b42953bc56a2e1d73d4679dc58eb7514f56b8bc7 Mon Sep 17 00:00:00 2001 From: Ikiru Yoshizaki <3856350+guitarrapc@users.noreply.github.com> Date: Tue, 13 Feb 2024 15:01:56 +0900 Subject: [PATCH 2/2] fix: invalid casing for File name --- sandbox/ReferenceBuilder/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sandbox/ReferenceBuilder/Program.cs b/sandbox/ReferenceBuilder/Program.cs index d90ce444..24938281 100644 --- a/sandbox/ReferenceBuilder/Program.cs +++ b/sandbox/ReferenceBuilder/Program.cs @@ -11,7 +11,7 @@ File.WriteAllText(Path.Combine(basePath, "../../../../../../docs/reference_operator.md"), o); // replace readme -var text = File.ReadAllLines(Path.Combine(basePath, "../../../../../../ReadMe.md")); +var text = File.ReadAllLines(Path.Combine(basePath, "../../../../../../README.md")); (int head, int tail)? factoryLines = null; (int head, int tail)? operatorLines = null; @@ -88,7 +88,7 @@ } var nt = string.Join(Environment.NewLine, newText); -File.WriteAllText(Path.Combine(basePath, "../../../../../../ReadMe.md"), nt); +File.WriteAllText(Path.Combine(basePath, "../../../../../../README.md"), nt); static string Factory() { @@ -132,7 +132,7 @@ static string Operator() // target = args[0]; // dest = args[1]; // } -// else if (args.Length == 3) +// else if (args.Length == 3) // { // target = args[0]; // dest = args[1];