diff --git a/shared/hooks/scripts/Invoke-PostChangeVerification.ps1 b/shared/hooks/scripts/Invoke-PostChangeVerification.ps1 index 45f034f..51d2989 100644 --- a/shared/hooks/scripts/Invoke-PostChangeVerification.ps1 +++ b/shared/hooks/scripts/Invoke-PostChangeVerification.ps1 @@ -1,5 +1,5 @@ param([string]$RepositoryRoot = (Split-Path $PSScriptRoot -Parent | Split-Path -Parent | Split-Path -Parent)) -$build = Join-Path $RepositoryRoot 'scripts/build.ps1' +$build = Join-Path $RepositoryRoot 'scripts/commands/build.ps1' if (-not (Test-Path $build)) { Write-Error 'Build script is missing.'; exit 1 } $shellCommand = if ([Environment]::OSVersion.Platform -eq [PlatformID]::Win32NT) { 'powershell' } else { 'pwsh' } & $shellCommand -NoProfile -ExecutionPolicy Bypass -File $build diff --git a/shared/hooks/scripts/invoke-post-change-verification.sh b/shared/hooks/scripts/invoke-post-change-verification.sh index 9cca2e9..04651b5 100755 --- a/shared/hooks/scripts/invoke-post-change-verification.sh +++ b/shared/hooks/scripts/invoke-post-change-verification.sh @@ -2,5 +2,5 @@ set -euo pipefail root=${1:?Repository root is required} -bash "$root/scripts/build.sh" +bash "$root/scripts/commands/build.sh" printf 'PASS post-change verification\n'