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

Move package directory pattern to config file.

Refers to #13
parent 9aefb96a
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@ $InstallationPath = "C:\Tools\AutoTx"
$ServiceName = "AutoTx"
$UpdateSourcePath = "\\fileserver.mydomain.xy\share\\_AUTOTX_"
$Pattern = 'build_[0-9]{4}-[0-9]{2}-[0-9]{2}_'
$EmailFrom = "admin@mydomain.xy"
$EmailTo = "admin@mydomain.xy"
......
......@@ -14,7 +14,6 @@ catch {
$UpdateBinariesPath = "$($UpdateSourcePath)\Service\Binaries"
$Pattern = 'build_[0-9]{4}-[0-9]{2}-[0-9]{2}_'
$PackageDir = Get-ChildItem -Directory -Name |
Where-Object {$_ -match $Pattern} |
......
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