|
|
@@ -12,8 +12,6 @@ dotnet pack "src\Discord.Net.Webhook\Discord.Net.Webhook.csproj" -c "Release" -o |
|
|
|
if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) } |
|
|
|
dotnet pack "src\Discord.Net.Providers.WS4Net\Discord.Net.Providers.WS4Net.csproj" -c "Release" -o "../../artifacts" --no-build /p:BuildNumber="$Env:BUILD" /p:IsTagBuild="$Env:APPVEYOR_REPO_TAG" |
|
|
|
if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) } |
|
|
|
dotnet pack "src\Discord.Net.Providers.UdpClient\Discord.Net.Providers.UdpClient.csproj" -c "Release" -o "../../artifacts" --no-build /p:BuildNumber="$Env:BUILD" /p:IsTagBuild="$Env:APPVEYOR_REPO_TAG" |
|
|
|
if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) } |
|
|
|
|
|
|
|
if ($Env:APPVEYOR_REPO_TAG -eq "true") { |
|
|
|
nuget pack src\Discord.Net\Discord.Net.nuspec -OutputDirectory "artifacts" -properties suffix="" |
|
|
@@ -21,4 +19,4 @@ if ($Env:APPVEYOR_REPO_TAG -eq "true") { |
|
|
|
else { |
|
|
|
nuget pack src\Discord.Net\Discord.Net.nuspec -OutputDirectory "artifacts" -properties suffix="-$Env:BUILD" |
|
|
|
} |
|
|
|
if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) } |
|
|
|
if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) } |