Skip to content

Commit 021d441

Browse files
authored
fix: use branch name as tag for branch-tracked dependencies (#560)
1 parent b284f35 commit 021d441

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dependency_updater/dependency_updater.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,8 @@ func getVersionAndCommit(ctx context.Context, client *github.Client, dependencie
264264
diff,
265265
}
266266
}
267+
// For branch tracking, return branch name as the tag
268+
return dependencies[dependencyType].Branch, commit, updatedDependency, nil
267269
}
268270

269271
if version != nil {

0 commit comments

Comments
 (0)