diff options
author | John McCrae <john.mccrae@progress.com> | 2022-07-28 10:39:06 -0700 |
---|---|---|
committer | John McCrae <john.mccrae@progress.com> | 2022-08-09 14:43:13 -0700 |
commit | 95cbbe4d31dc42ac5e848c56b0881d1bf0a0cdae (patch) | |
tree | 482c744018942e9581c4537193dbae93a1c3f550 | |
parent | 0898ae6922357e4b4485d5ab7ec79ad80fc0c762 (diff) | |
download | chef-95cbbe4d31dc42ac5e848c56b0881d1bf0a0cdae.tar.gz |
starting to integrate ruby 3.1 into the builds
Signed-off-by: John McCrae <john.mccrae@progress.com>
-rw-r--r-- | .expeditor/scripts/ensure-minimum-viable-hab.ps1 | 1 | ||||
-rw-r--r-- | .expeditor/scripts/verify-plan.ps1 | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/.expeditor/scripts/ensure-minimum-viable-hab.ps1 b/.expeditor/scripts/ensure-minimum-viable-hab.ps1 index 12f9014f2c..c8a483544a 100644 --- a/.expeditor/scripts/ensure-minimum-viable-hab.ps1 +++ b/.expeditor/scripts/ensure-minimum-viable-hab.ps1 @@ -4,7 +4,6 @@ if ($hab_version -lt [Version]"0.85.0" ) { # install-habitat --version 0.85.0.20190916 Set-ExecutionPolicy Bypass -Scope Process -Force Invoke-Expression ((New-Object System.Net.WebClient).DownloadString('https://raw.githubusercontent.com/habitat-sh/habitat/main/components/hab/install.ps1')) - $env:Path = [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User") if (-not $?) { throw "Hab version is older than 0.85 and could not update it." } } else { Write-Host "--- :habicat: :thumbsup: Minimum required version of Habitat already installed" diff --git a/.expeditor/scripts/verify-plan.ps1 b/.expeditor/scripts/verify-plan.ps1 index 380a0f3ddb..6fbef95442 100644 --- a/.expeditor/scripts/verify-plan.ps1 +++ b/.expeditor/scripts/verify-plan.ps1 @@ -14,6 +14,7 @@ Write-Host "--- :8ball: :windows: Verifying $Plan" powershell -File "./.expeditor/scripts/ensure-minimum-viable-hab.ps1" if (-not $?) { throw "Could not ensure the minimum hab version required is installed." } +$env:Path = [System.Environment]::GetEnvironmentVariable("Path", "Machine") + ";" + [System.Environment]::GetEnvironmentVariable("Path", "User") Write-Host "--- :construction: Verifying Git is Installed" $source = Get-Command -Name Git -Verbose |