File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -24,9 +24,8 @@ $ErrorActionPreference = "Stop" # Equivalent to 'set -e' in bash
24
24
25
25
$progName = Split-Path - parent $MyInvocation.MyCommand.Definition
26
26
$flutterRoot = (Get-Item $progName ).parent.parent.FullName
27
- $gitToplevel = (git rev- parse -- show-toplevel ).Trim()
28
27
29
- $Path1 = Join-Path $gitToplevel " bin"
28
+ $Path1 = Join-Path $flutterRoot " bin"
30
29
$Path2 = Join-Path $Path1 " internal"
31
30
$RELEASE_CANDIDATE_VERSION_PATH = Join-Path $Path2 " release-candidate-branch.version"
32
31
@@ -53,8 +52,8 @@ if ([string]::IsNullOrEmpty($REFERENCE_COMMIT)) {
53
52
# but not from the REFERENCE_COMMIT. This focuses the search on commits
54
53
# *unique to the current branch* since that file was last changed.
55
54
$HISTORY_RANGE = " $REFERENCE_COMMIT ..HEAD"
56
- $DEPS_PATH = Join-Path $gitToplevel " DEPS"
57
- $ENGINE_PATH = Join-Path $gitToplevel " engine"
55
+ $DEPS_PATH = Join-Path $flutterRoot " DEPS"
56
+ $ENGINE_PATH = Join-Path $flutterRoot " engine"
58
57
59
58
$ENGINE_COMMIT = (git log -1 -- pretty= format:% H -- ancestry- path $HISTORY_RANGE -- " $DEPS_PATH " " $ENGINE_PATH " )
60
59
You can’t perform that action at this time.
0 commit comments