Skip to content

Commit 4f469e5

Browse files
committed
build: fix nuget package build script does not copy output packages
1 parent e231977 commit 4f469e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/publish-nupkg.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ echo PackageVersion:$($version -as [string])
2222
echo Version:$($ver -as [string])
2323
#dotnet clean
2424

25-
dotnet build ./Src/SoundFlow.csproj -c Release -p:Platform="Any CPU" -p:Version=$($ver -as [string]) -p:PackageVersion=$($version -as [string]) -p:GeneratePackageOnBuild=true
26-
cp ./**/bin/Release/*.nupkg ./out
25+
dotnet pack ./Src/SoundFlow.csproj -c Release -p:Platform="Any CPU" -p:Version=$($ver -as [string]) -p:PackageVersion=$($version -as [string]) -p:GeneratePackageOnBuild=True
26+
Copy-Item -Recurse -Force "./**/bin/**/Release/*.nupkg" ./out
2727

2828
Get-ChildItem ./out

0 commit comments

Comments
 (0)