diff --git a/bin/internal/last_engine_commit.ps1 b/bin/internal/last_engine_commit.ps1 index f0e635909b9..7ecac6b5f4b 100644 --- a/bin/internal/last_engine_commit.ps1 +++ b/bin/internal/last_engine_commit.ps1 @@ -26,7 +26,9 @@ $progName = Split-Path -parent $MyInvocation.MyCommand.Definition $flutterRoot = (Get-Item $progName).parent.parent.FullName $gitToplevel = (git rev-parse --show-toplevel).Trim() -$RELEASE_CANDIDATE_VERSION_PATH = Join-Path $gitToplevel "bin" "internal" "release-candidate-branch.version" +$Path1 = Join-Path $gitToplevel "bin" +$Path2 = Join-Path $Path1 "internal" +$RELEASE_CANDIDATE_VERSION_PATH = Join-Path $Path2 "release-candidate-branch.version" # 1. Determine the reference commit: the last commit that changed # 'bin/internal/release-candidate-branch.version'.