Skip to content

Commit

Permalink
New Release
Browse files Browse the repository at this point in the history
  • Loading branch information
wemogy-admin authored Jan 18, 2024
2 parents 38eb37e + 31164ea commit 3095a9d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sdk-auto-generate-dotnet/templates/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ git checkout $projectPath/$packageName.csproj
dotnet add $projectPath/$packageName.csproj package SpaceBlocks.Libs.Sdk

# Remove the Newtonsoft.Json dependency because it is already included in SpaceBlocks.Libs.Sdk
dotnet remove $projectPath/$packageName.csproj package Newtonsoft.Json
if grep -q "Newtonsoft.Json" "$projectPath/$packageName.csproj"; then
dotnet remove "$projectPath/$packageName.csproj" package Newtonsoft.Json
fi

# Place partial class ApiClient`.cs
cat > $projectPath/Client/ApiClient\`.cs <<EOF
Expand Down

0 comments on commit 3095a9d

Please sign in to comment.