mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-26 06:36:43 +00:00
build: fix Maven and CocoaPods author email addresses
This commit is contained in:
parent
87a9b34d91
commit
b9eccbe78a
1 changed files with 2 additions and 2 deletions
|
|
@ -744,7 +744,7 @@ func newMavenMetadata(env build.Environment) mavenMetadata {
|
|||
continue
|
||||
}
|
||||
// Split the author and insert as a contributor
|
||||
re := regexp.MustCompile("([^<]+) <(.+>)")
|
||||
re := regexp.MustCompile("([^<]+) <(.+)>")
|
||||
parts := re.FindStringSubmatch(line)
|
||||
if len(parts) == 3 {
|
||||
contribs = append(contribs, mavenContributor{Name: parts[1], Email: parts[2]})
|
||||
|
|
@ -829,7 +829,7 @@ func newPodMetadata(env build.Environment, archive string) podMetadata {
|
|||
continue
|
||||
}
|
||||
// Split the author and insert as a contributor
|
||||
re := regexp.MustCompile("([^<]+) <(.+>)")
|
||||
re := regexp.MustCompile("([^<]+) <(.+)>")
|
||||
parts := re.FindStringSubmatch(line)
|
||||
if len(parts) == 3 {
|
||||
contribs = append(contribs, podContributor{Name: parts[1], Email: parts[2]})
|
||||
|
|
|
|||
Loading…
Reference in a new issue