Skip to content
Snippets Groups Projects
Commit 57d54756 authored by Niko Ehrenfeuchter's avatar Niko Ehrenfeuchter :keyboard:
Browse files

Another attempt to make Prepare-Build thread-safer.

parent 23c50068
No related branches found
No related tags found
No related merge requests found
......@@ -128,9 +128,9 @@ $DateShort = Get-Date -Format 'yyyy.MM.dd.HHmm'
# use "-EA Ignore" to prevent build issues when VS is building multiple projects
# at the same time that all use this script (leading to "file already in use"
# errors), where they would all produce the same output anyway:
$Date | Out-File $BuildDate -ErrorAction Ignore
$CommitName | Out-File $BCommit -ErrorAction Ignore
$ConfigurationName | Out-File $BuildConfig -ErrorAction Ignore
$Date | Out-File -Force $BuildDate -ErrorAction Ignore
$CommitName | Out-File -Force $BCommit -ErrorAction Ignore
$ConfigurationName | Out-File -Force $BuildConfig -ErrorAction Ignore
Write-Output $(
"build-config: [$($ConfigurationName)]"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment