mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-12-04 18:36:26 +00:00
fix non strict branch mode
This commit is contained in:
parent
45ad998d41
commit
a84d5e5b62
@ -9,7 +9,7 @@ import (
|
||||
func GetTagImportRegex(pd *data.ProcessData) *regexp.Regexp {
|
||||
branchRegex := fmt.Sprintf("%s%d%s", pd.ImportBranchPrefix, pd.Version, pd.BranchSuffix)
|
||||
if !pd.StrictBranchMode {
|
||||
branchRegex += ".+"
|
||||
branchRegex += "(?:.+|)"
|
||||
}
|
||||
regex := fmt.Sprintf("refs/tags/(imports/(%s)/(.*))", branchRegex)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user