mirror of https://github.com/OpenRCT2/OpenRCT2.git
Disable NTFS Timestamps on Windows zip distributions
This commit is contained in:
parent
572999e8e3
commit
dd63caf5aa
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue