Harden CultMesh route fallback and secure onboarding
This commit is contained in:
parent
f622ee1b24
commit
c194bd4cc8
11 changed files with 329 additions and 47 deletions
|
|
@ -71,6 +71,7 @@ if (-not $SkipConsumerSmoke) {
|
|||
Remove-Item -LiteralPath $smokeRoot -Recurse -Force
|
||||
}
|
||||
New-Item -ItemType Directory -Force -Path $smokeRoot | Out-Null
|
||||
$consumerPackages = Join-Path $smokeRoot "packages"
|
||||
$projectDocument = @"
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
|
|
@ -78,6 +79,8 @@ if (-not $SkipConsumerSmoke) {
|
|||
<OutputType>Exe</OutputType>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<RestoreSources>$outputRoot;https://api.nuget.org/v3/index.json</RestoreSources>
|
||||
<RestorePackagesPath>$consumerPackages</RestorePackagesPath>
|
||||
<RestoreNoCache>true</RestoreNoCache>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="GameCult.Mesh" Version="$version" />
|
||||
|
|
|
|||
|
|
@ -32,8 +32,8 @@ if ($LASTEXITCODE -ne 0 -or [string]::IsNullOrWhiteSpace($sourceRevision)) {
|
|||
throw "Could not determine the CultLib source revision for local package identity."
|
||||
}
|
||||
$verificationNonce = [guid]::NewGuid().ToString("N").Substring(0, 8)
|
||||
$cultLibLocalVersion = "1.0.33-local.$sourceRevision.$verificationNonce"
|
||||
$surfaceLocalVersion = "0.3.2-local.$sourceRevision.$verificationNonce"
|
||||
$cultLibLocalVersion = "1.0.34-local.$sourceRevision.$verificationNonce"
|
||||
$surfaceLocalVersion = "0.3.3-local.$sourceRevision.$verificationNonce"
|
||||
try {
|
||||
& (Join-Path $EveRoot "scripts\pack-dotnet-surface.ps1") `
|
||||
-CultLibRoot $cultLibRoot `
|
||||
|
|
|
|||
Loading…
Reference in a new issue