Disable NTFS Timestamps on Windows zip distributions

This commit is contained in:
LRFLEW 2016-08-12 18:18:26 -05:00 committed by Ted John
parent 572999e8e3
commit dd63caf5aa
1 changed files with 2 additions and 2 deletions

View File

@ -129,7 +129,7 @@ function Do-Symbols()
return 1
}
}
& $7zcmd a -tzip -mx9 $outZip "$artifactsDir\openrct2.pdb" "$artifactsDir\openrct2.dll" > $null
& $7zcmd a -tzip -mx9 -mtc=off $outZip "$artifactsDir\openrct2.pdb" "$artifactsDir\openrct2.dll" > $null
if ($LASTEXITCODE -ne 0)
{
Write-Host "Failed to create zip." -ForegroundColor Red
@ -175,7 +175,7 @@ function Do-Package()
return 1
}
}
& $7zcmd a -tzip -mx9 $outZip "$tempDir\*" > $null
& $7zcmd a -tzip -mx9 -mtc=off $outZip "$tempDir\*" > $null
if ($LASTEXITCODE -ne 0)
{
Write-Host "Failed to create zip." -ForegroundColor Red