diff --git a/pkg/misc/regex.go b/pkg/misc/regex.go index 1846a7d..6de142f 100644 --- a/pkg/misc/regex.go +++ b/pkg/misc/regex.go @@ -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)