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

Do not add "AutoTx.log" to the package

parent 2e067000
No related branches found
No related tags found
No related merge requests found
......@@ -38,8 +38,8 @@ function Copy-ServiceFiles {
try {
Copy-Item -Recurse -Force -Path "$ServiceName\*" -Destination $ServiceDir
Copy-Item -Recurse -Force -Path "conf-example" -Destination $ServiceDir
Copy-Item -Force -Path "$($ServiceName).log" -Destination $ServiceLog
Clear-Content $ServiceLog
# create a dummy log file, so admins can already start watching it:
Out-File -FilePath $ServiceLog -InputObject "$($ServiceName) installed"
Write-Host "[OK]" -Fore Green
}
catch {
......
......@@ -76,7 +76,6 @@ $example = New-Item -ItemType Container -Path $PkgDir -Name "conf-example"
Copy-Item "$($ResourceDir)\conf\config.common.xml" $example
Copy-Item "$($ResourceDir)\conf\host-specific.template.xml" $example
Copy-Item "$($ResourceDir)\BuildDate.txt" "$($PkgDir)\AutoTx.log"
Copy-Item "$($ResourceDir)\BuildConfiguration.txt" $($PkgDir)
try {
$CommitRefFile = "$($ResourceDir)\BuildCommit.txt"
......
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