Skip to content

Commit

Permalink
Strict branch mode should still include module streams
Browse files Browse the repository at this point in the history
  • Loading branch information
mstg committed Apr 23, 2022
1 parent a84d5e5 commit bc9d81b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/misc/regex.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ func GetTagImportRegex(pd *data.ProcessData) *regexp.Regexp {
branchRegex := fmt.Sprintf("%s%d%s", pd.ImportBranchPrefix, pd.Version, pd.BranchSuffix)
if !pd.StrictBranchMode {
branchRegex += "(?:.+|)"
} else {
branchRegex += "(?:-stream-.+|)"
}
regex := fmt.Sprintf("refs/tags/(imports/(%s)/(.*))", branchRegex)

Expand Down

0 comments on commit bc9d81b

Please sign in to comment.