Moving main repo to tech2k
This commit is contained in:
parent
93dff4b442
commit
47e67a83d1
|
|
@ -1,7 +1,11 @@
|
|||
|
||||
function Update-GetPC {
|
||||
|
||||
$GetPCSourcePath = "\\int.samhealth.net\files\TEAM\SHSISDesktopSolutions\Powershell\Get-PC_Update_2023\Prod\Get-PC\"
|
||||
if ($devStage -eq "Prod") {
|
||||
$GetPCSourcePath = $getPCProdBuildPath.TrimEnd('\Get-PC.psd1')
|
||||
}
|
||||
elseif ($devStage -eq "Dev") {
|
||||
$GetPCSourcePath = $getPCDevBuildPath.TrimEnd('\Get-PC.psd1')
|
||||
}
|
||||
$desinationPath = ($env:PSModulePath -split ';')[0] + "\Get-PC"
|
||||
|
||||
Write-Host "Updating Get-PC..."
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ $ErrorActionPreference = 'SilentlyContinue'
|
|||
#DevStage can take either Dev or Prod as values
|
||||
$devStage = 'Dev'
|
||||
#Locations for dev build and prod build
|
||||
$getPCDevBuildPath = '\\int.samhealth.net\files\TEAM\SHSISDesktopSolutions\Powershell\Get-PC_Update_2023\Prod\Get-PC\Get-PC.psd1'
|
||||
$getPCDevBuildPath = '\\int.samhealth.net\files\Tech2k\Apps\SHS Custom Desktop Apps\Get-PC\Get-PC\Get-PC.psd1'
|
||||
$getPCProdBuildPath = "\\shscm01\packages\SHS Custom\Get-PC\Prod\Get-PC\Get-PC.psd1"
|
||||
#grabs the version number out of the module manifest and compares it to the current production version
|
||||
$modulemanifest = Join-Path (get-item $PSScriptRoot).Parent.FullName 'Get-PC.psd1'
|
||||
|
|
@ -21,7 +21,7 @@ elseif ($devStage -eq "Dev") {
|
|||
$deployedVersion = (Test-ModuleManifest $getPCDevBuildPath).Version
|
||||
}
|
||||
|
||||
$getPCWrappedPath = '\\int.samhealth.net\files\TEAM\SHSISDesktopSolutions\Powershell\Get-PC_Update_2023\Get-PC-Wrapped\backlog.txt'
|
||||
$getPCWrappedPath = '\\int.samhealth.net\files\Tech2k\Apps\SHS Custom Desktop Apps\Get-PC-Wrapped\backlog.txt'
|
||||
|
||||
$SparkQueryTimeoutSec = 5
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue