Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update reference builder on update-packagejson #91

Merged
merged 2 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
6 changes: 3 additions & 3 deletions sandbox/ReferenceBuilder/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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()
{
Expand Down Expand Up @@ -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];
Expand Down
Loading