Skip to content

Commit

Permalink
build pdk in release mode before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
mhmd-azeez authored Sep 26, 2023
1 parent e2585ae commit 370ea77
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ test: prepare
clean:
dotnet clean

publish: clean prepare
publish: clean
dotnet build -c Release ./src/Extism.Pdk.MsBuild/Extism.Pdk.MsBuild.csproj
dotnet build -c Release ./src/Extism.Pdk/Extism.Pdk.csproj
dotnet pack -c Release ./src/Extism.Pdk/Extism.Pdk.csproj
dotnet nuget push --source https://api.nuget.org/v3/index.json ./src/Extism.Pdk/bin/Release/*.nupkg --api-key $(NUGET_API_KEY)

format:
dotnet format
dotnet format

0 comments on commit 370ea77

Please sign in to comment.