Skip to content
This repository was archived by the owner on Jul 3, 2020. It is now read-only.

Commit ed0d061

Browse files
committed
now installing dotnet warp locally, fixes for code quality complains
1 parent afdb2f4 commit ed0d061

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/publish.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ mkdir -p artifacts/
66

77
pushd src
88
if [[ $1 == "netcoreapp3.0" ]]; then
9-
dotnet tool install --global dotnet-warp || true
10-
dotnet warp -r $2 -p Configuration=Release -p PublishTrimmed=true -p UsePreviewVersion=true
9+
dotnet new tool-manifest --force
10+
dotnet tool install --local dotnet-warp
11+
dotnet warp -r "$2" -p "Configuration=Release" -p "PublishTrimmed=true" -p "UsePreviewVersion=true"
1112
if [[ $2 == win-* ]]; then
1213
BIN_EXT=".exe"
1314
else

0 commit comments

Comments
 (0)