diff --git a/.gitea/workflows/publish-nuget.yml b/.gitea/workflows/publish-nuget.yml index 6c47920..849e2c1 100644 --- a/.gitea/workflows/publish-nuget.yml +++ b/.gitea/workflows/publish-nuget.yml @@ -114,7 +114,7 @@ jobs: mkdir -p packages for project in "${projects[@]}"; do dotnet restore "$project" --configfile NuGet.Config - dotnet pack "$project" --configuration Release --no-restore --output "$PWD/packages" --include-symbols --include-source + dotnet pack "$project" --configuration Release --no-restore --output "$PWD/packages" done find packages -maxdepth 1 -name '*.nupkg' -type f | grep -q . dotnet nuget push 'packages/*.nupkg' --api-key "$NUGET_AUTH_TOKEN" --source https://git.crash.work/api/packages/ShrinkSDK/nuget/index.json --skip-duplicate diff --git a/Godot~/ShrinkSDK.Godot.Installer.csproj b/Godot~/ShrinkSDK.Godot.Installer.csproj index 69ba4fe..2920f08 100644 --- a/Godot~/ShrinkSDK.Godot.Installer.csproj +++ b/Godot~/ShrinkSDK.Godot.Installer.csproj @@ -4,16 +4,19 @@ false ShrinkSDK.Godot.Installer ShrinkSDK.Godot.Installer - 0.1.1 + 0.1.2 Godot Editor package manager and CodeGen diagnostics for ShrinkSDK. + false + true + false - - - + + + diff --git a/README.md b/README.md index bf61f5f..4625cc1 100644 --- a/README.md +++ b/README.md @@ -22,10 +22,10 @@ https://git.crash.work/ShrinkSDK/Installer.git#main ## Godot 4.6 C# -Godot Installer 源码和 NuGet 打包工程位于 `Godot~`。安装 `ShrinkSDK.Godot.Installer 0.1.1` 后,将包内 `contentFiles/any/any/addons/shrinksdk` 复制到 Godot 项目的 `addons/shrinksdk`,再到 `Project > Project Settings > Plugins` 启用 **ShrinkSDK Installer**。 +Godot Installer 源码和 NuGet 打包工程位于 `Godot~`。取得 `ShrinkSDK.Godot.Installer 0.1.2` 后,将包内 `contentFiles/any/any/addons/shrinksdk` 复制到 Godot 项目的 `addons/shrinksdk`,再到 `Project > Project Settings > Plugins` 启用 **ShrinkSDK Installer**。 Godot 面板直接修改项目 `.csproj` 的 `PackageReference`,安全合并项目级 `NuGet.Config`,并可执行 `dotnet restore/build`、显示 CodeGen 织入状态。已安装版本高于目录版本时不会执行降级。 ```powershell -dotnet pack .\Godot~\ShrinkSDK.Godot.Installer.csproj -c Release --output .\artifacts --include-symbols --include-source +dotnet pack .\Godot~\ShrinkSDK.Godot.Installer.csproj -c Release --output .\artifacts ```