Skip to content

Commit 052b985

Browse files
authored
internal/repotools: Fix Calculate Bug (#1361)
Fixes an issue where the module version was being passed to git ls-tree rather then the complete <modulePath>/<tag> tag name.
1 parent 2497574 commit 052b985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/repotools/release/calculate.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ func Calculate(finder ModuleFinder, tags git.ModuleTags, config repotools.Config
9494
continue
9595
}
9696

97-
treeFiles, err := git.LsTree(rootDir, latestVersion, subModuleDir)
97+
treeFiles, err := git.LsTree(rootDir, startTag, subModuleDir)
9898
if err != nil {
9999
return nil, fmt.Errorf("failed to list git tree: %v", err)
100100
}

0 commit comments

Comments
 (0)