Skip to content

Commit 7de8f9b

Browse files
committed
Don't build games projects
1 parent 0be5990 commit 7de8f9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/package-releases.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ if ($Version -like "v*") {
1717
}
1818

1919
Get-ChildItem -Path $Directory -Recurse -Filter $ProjectFilter |
20-
Where-Object { $_.Name -notlike "*Test*" } |
20+
Where-Object { $_.Name -notlike "*Test*" -and $_.FullName -notmatch "games" } |
2121
ForEach-Object {
2222
Write-Host "Restoring $($_.FullName)"
2323
dotnet restore $_
@@ -35,4 +35,4 @@ Get-ChildItem -Path $Directory -Recurse -Filter $ProjectFilter |
3535

3636
Write-Host "Pushing $PackageWithVersion.snupkg"
3737
dotnet nuget push "$PackageWithVersion.snupkg" -s https://api.nuget.org/v3/index.json -k $ApiKey
38-
}
38+
}

0 commit comments

Comments
 (0)