Versions are hard
This commit is contained in:
8
test.ps1
8
test.ps1
@@ -1,8 +1,2 @@
|
||||
if (Test-Path Env:\APPVEYOR_BUILD_NUMBER) {
|
||||
$build = $env:APPVEYOR_BUILD_NUMBER.PadLeft(5, "0")
|
||||
} else {
|
||||
$build = "dev"
|
||||
}
|
||||
|
||||
dotnet test test/Discord.Net.Tests/Discord.Net.Tests.csproj -c "Release" --noBuild -p:BuildNumber="$build"
|
||||
dotnet test test/Discord.Net.Tests/Discord.Net.Tests.csproj -c "Release" --noBuild -p:VersionSuffix="$env:BUILD"
|
||||
if ($LastExitCode -ne 0) { $host.SetShouldExit($LastExitCode) }
|
||||
Reference in New Issue
Block a user