mirror of
https://github.com/rocky-linux/srpmproc.git
synced 2024-06-02 08:10:17 +00:00
fix: tree
isn't allowed as a project name so treepkg
should be used
This commit is contained in:
parent
09263c9f48
commit
e1b4213dcc
|
@ -43,6 +43,10 @@ import (
|
||||||
var tagImportRegex *regexp.Regexp
|
var tagImportRegex *regexp.Regexp
|
||||||
|
|
||||||
func gitlabify(str string) string {
|
func gitlabify(str string) string {
|
||||||
|
if str == "tree" {
|
||||||
|
return "treepkg"
|
||||||
|
}
|
||||||
|
|
||||||
return strings.Replace(str, "+", "plus", -1)
|
return strings.Replace(str, "+", "plus", -1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user