mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2025-01-07 17:00:56 +00:00
Strict branch mode should still include module streams
This commit is contained in:
parent
a84d5e5b62
commit
bc9d81bd8e
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue