From e27e60d72236d3844d541035c189aad40efd8638 Mon Sep 17 00:00:00 2001 From: Summpot Date: Mon, 30 Oct 2023 19:17:21 +0800 Subject: [PATCH] Update --- .github/workflows/release.yml | 1 + Directory.Build.props => src/Directory.Build.props | 4 ++++ src/NativeLibrary/tree-sitter-c/runtime.json | 14 +++++++------- src/NativeLibrary/tree-sitter-cpp/runtime.json | 14 +++++++------- src/NativeLibrary/tree-sitter-json/runtime.json | 14 +++++++------- src/NativeLibrary/tree-sitter-lua/runtime.json | 14 +++++++------- src/NativeLibrary/tree-sitter/runtime.json | 14 +++++++------- 7 files changed, 40 insertions(+), 35 deletions(-) rename Directory.Build.props => src/Directory.Build.props (85%) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b1a1aca..8ed404a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -75,6 +75,7 @@ jobs: - name: Push packages to nuget run: | Get-ChildItem ./nupkgs -Filter *.nupkg | %{ dotnet nuget push $_.FullName -k ${{secrets.NUGET_API_KEY}} } + shell: pwsh - name: Upload build artifacts diff --git a/Directory.Build.props b/src/Directory.Build.props similarity index 85% rename from Directory.Build.props rename to src/Directory.Build.props index 99a5406..4227f99 100644 --- a/Directory.Build.props +++ b/src/Directory.Build.props @@ -9,6 +9,10 @@ MIT + + ..\..\nupkgs + + all diff --git a/src/NativeLibrary/tree-sitter-c/runtime.json b/src/NativeLibrary/tree-sitter-c/runtime.json index 2fe523d..292714b 100644 --- a/src/NativeLibrary/tree-sitter-c/runtime.json +++ b/src/NativeLibrary/tree-sitter-c/runtime.json @@ -2,37 +2,37 @@ "runtimes": { "linux-arm64": { "tree-sitter-c": { - "tree-sitter-c.runtime.linux-arm64": "0.4.12.0" + "tree-sitter-c.runtime.linux-arm64": "0.4.12" } }, "linux-x64": { "tree-sitter-c": { - "tree-sitter-c.runtime.linux-x64": "0.4.12.0" + "tree-sitter-c.runtime.linux-x64": "0.4.12" } }, "osx-arm64": { "tree-sitter-c": { - "tree-sitter-c.runtime.osx-arm64": "0.4.12.0" + "tree-sitter-c.runtime.osx-arm64": "0.4.12" } }, "osx-x64": { "tree-sitter-c": { - "tree-sitter-c.runtime.osx-x64": "0.4.12.0" + "tree-sitter-c.runtime.osx-x64": "0.4.12" } }, "win-arm64": { "tree-sitter-c": { - "tree-sitter-c.runtime.win-arm64": "0.4.12.0" + "tree-sitter-c.runtime.win-arm64": "0.4.12" } }, "win-x64": { "tree-sitter-c": { - "tree-sitter-c.runtime.win-x64": "0.4.12.0" + "tree-sitter-c.runtime.win-x64": "0.4.12" } }, "win-x86": { "tree-sitter-c": { - "tree-sitter-c.runtime.win-x86": "0.4.12.0" + "tree-sitter-c.runtime.win-x86": "0.4.12" } } } diff --git a/src/NativeLibrary/tree-sitter-cpp/runtime.json b/src/NativeLibrary/tree-sitter-cpp/runtime.json index 8dcd4c2..31110c6 100644 --- a/src/NativeLibrary/tree-sitter-cpp/runtime.json +++ b/src/NativeLibrary/tree-sitter-cpp/runtime.json @@ -2,37 +2,37 @@ "runtimes": { "linux-arm64": { "tree-sitter-cpp": { - "tree-sitter-cpp.runtime.linux-arm64": "0.4.12.0" + "tree-sitter-cpp.runtime.linux-arm64": "0.4.12" } }, "linux-x64": { "tree-sitter-cpp": { - "tree-sitter-cpp.runtime.linux-x64": "0.4.12.0" + "tree-sitter-cpp.runtime.linux-x64": "0.4.12" } }, "osx-arm64": { "tree-sitter-cpp": { - "tree-sitter-cpp.runtime.osx-arm64": "0.4.12.0" + "tree-sitter-cpp.runtime.osx-arm64": "0.4.12" } }, "osx-x64": { "tree-sitter-cpp": { - "tree-sitter-cpp.runtime.osx-x64": "0.4.12.0" + "tree-sitter-cpp.runtime.osx-x64": "0.4.12" } }, "win-arm64": { "tree-sitter-cpp": { - "tree-sitter-cpp.runtime.win-arm64": "0.4.12.0" + "tree-sitter-cpp.runtime.win-arm64": "0.4.12" } }, "win-x64": { "tree-sitter-cpp": { - "tree-sitter-cpp.runtime.win-x64": "0.4.12.0" + "tree-sitter-cpp.runtime.win-x64": "0.4.12" } }, "win-x86": { "tree-sitter-cpp": { - "tree-sitter-cpp.runtime.win-x86": "0.4.12.0" + "tree-sitter-cpp.runtime.win-x86": "0.4.12" } } } diff --git a/src/NativeLibrary/tree-sitter-json/runtime.json b/src/NativeLibrary/tree-sitter-json/runtime.json index ee6f879..ed25168 100644 --- a/src/NativeLibrary/tree-sitter-json/runtime.json +++ b/src/NativeLibrary/tree-sitter-json/runtime.json @@ -2,37 +2,37 @@ "runtimes": { "linux-arm64": { "tree-sitter-json": { - "tree-sitter-json.runtime.linux-arm64": "0.4.12.0" + "tree-sitter-json.runtime.linux-arm64": "0.4.12" } }, "linux-x64": { "tree-sitter-json": { - "tree-sitter-json.runtime.linux-x64": "0.4.12.0" + "tree-sitter-json.runtime.linux-x64": "0.4.12" } }, "osx-arm64": { "tree-sitter-json": { - "tree-sitter-json.runtime.osx-arm64": "0.4.12.0" + "tree-sitter-json.runtime.osx-arm64": "0.4.12" } }, "osx-x64": { "tree-sitter-json": { - "tree-sitter-json.runtime.osx-x64": "0.4.12.0" + "tree-sitter-json.runtime.osx-x64": "0.4.12" } }, "win-arm64": { "tree-sitter-json": { - "tree-sitter-json.runtime.win-arm64": "0.4.12.0" + "tree-sitter-json.runtime.win-arm64": "0.4.12" } }, "win-x64": { "tree-sitter-json": { - "tree-sitter-json.runtime.win-x64": "0.4.12.0" + "tree-sitter-json.runtime.win-x64": "0.4.12" } }, "win-x86": { "tree-sitter-json": { - "tree-sitter-json.runtime.win-x86": "0.4.12.0" + "tree-sitter-json.runtime.win-x86": "0.4.12" } } } diff --git a/src/NativeLibrary/tree-sitter-lua/runtime.json b/src/NativeLibrary/tree-sitter-lua/runtime.json index 99f730f..32f85e2 100644 --- a/src/NativeLibrary/tree-sitter-lua/runtime.json +++ b/src/NativeLibrary/tree-sitter-lua/runtime.json @@ -2,37 +2,37 @@ "runtimes": { "linux-arm64": { "tree-sitter-lua": { - "tree-sitter-lua.runtime.linux-arm64": "0.4.12.0" + "tree-sitter-lua.runtime.linux-arm64": "0.4.12" } }, "linux-x64": { "tree-sitter-lua": { - "tree-sitter-lua.runtime.linux-x64": "0.4.12.0" + "tree-sitter-lua.runtime.linux-x64": "0.4.12" } }, "osx-arm64": { "tree-sitter-lua": { - "tree-sitter-lua.runtime.osx-arm64": "0.4.12.0" + "tree-sitter-lua.runtime.osx-arm64": "0.4.12" } }, "osx-x64": { "tree-sitter-lua": { - "tree-sitter-lua.runtime.osx-x64": "0.4.12.0" + "tree-sitter-lua.runtime.osx-x64": "0.4.12" } }, "win-arm64": { "tree-sitter-lua": { - "tree-sitter-lua.runtime.win-arm64": "0.4.12.0" + "tree-sitter-lua.runtime.win-arm64": "0.4.12" } }, "win-x64": { "tree-sitter-lua": { - "tree-sitter-lua.runtime.win-x64": "0.4.12.0" + "tree-sitter-lua.runtime.win-x64": "0.4.12" } }, "win-x86": { "tree-sitter-lua": { - "tree-sitter-lua.runtime.win-x86": "0.4.12.0" + "tree-sitter-lua.runtime.win-x86": "0.4.12" } } } diff --git a/src/NativeLibrary/tree-sitter/runtime.json b/src/NativeLibrary/tree-sitter/runtime.json index 3ebff14..1094cc4 100644 --- a/src/NativeLibrary/tree-sitter/runtime.json +++ b/src/NativeLibrary/tree-sitter/runtime.json @@ -2,37 +2,37 @@ "runtimes": { "linux-arm64": { "tree-sitter": { - "tree-sitter.runtime.linux-arm64": "0.4.12.0" + "tree-sitter.runtime.linux-arm64": "0.4.12" } }, "linux-x64": { "tree-sitter": { - "tree-sitter.runtime.linux-x64": "0.4.12.0" + "tree-sitter.runtime.linux-x64": "0.4.12" } }, "osx-arm64": { "tree-sitter": { - "tree-sitter.runtime.osx-arm64": "0.4.12.0" + "tree-sitter.runtime.osx-arm64": "0.4.12" } }, "osx-x64": { "tree-sitter": { - "tree-sitter.runtime.osx-x64": "0.4.12.0" + "tree-sitter.runtime.osx-x64": "0.4.12" } }, "win-arm64": { "tree-sitter": { - "tree-sitter.runtime.win-arm64": "0.4.12.0" + "tree-sitter.runtime.win-arm64": "0.4.12" } }, "win-x64": { "tree-sitter": { - "tree-sitter.runtime.win-x64": "0.4.12.0" + "tree-sitter.runtime.win-x64": "0.4.12" } }, "win-x86": { "tree-sitter": { - "tree-sitter.runtime.win-x86": "0.4.12.0" + "tree-sitter.runtime.win-x86": "0.4.12" } } }