Skip to content

Commit

Permalink
fix non strict branch mode
Browse files Browse the repository at this point in the history
  • Loading branch information
mstg committed Apr 21, 2022
1 parent 45ad998 commit a84d5e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/misc/regex.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit a84d5e5

Please sign in to comment.