fix: typo in numerous version url templates

This commit is contained in:
jedwillick 2022-03-03 12:19:30 +10:00 committed by Jan De Dobbeleer
parent 5a4be2b235
commit db52fcd198
4 changed files with 4 additions and 4 deletions

View file

@ -29,7 +29,7 @@ func (d *Dotnet) Init(props properties.Properties, env environment.Environment)
`(?:-(?P<prerelease>(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+(?P<buildmetadata>[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?))`,
},
},
versionURLTemplate: "https://github.com/dotnet/core/blob/master/release-notes/{{ .Major }}.{{ .Minor }}/{{ .Major }}.{{ .Minor }}.{{ .Patch }}/{{ .Major }}.{{ .Minor }}.{{ .Patch }}.md)", // nolint: lll
versionURLTemplate: "https://github.com/dotnet/core/blob/master/release-notes/{{ .Major }}.{{ .Minor }}/{{ .Major }}.{{ .Minor }}.{{ .Patch }}/{{ .Major }}.{{ .Minor }}.{{ .Patch }}.md", // nolint: lll
}
}

View file

@ -35,7 +35,7 @@ func (g *Golang) Init(props properties.Properties, env environment.Environment)
regex: `(?:go(?P<version>((?P<major>[0-9]+).(?P<minor>[0-9]+)(.(?P<patch>[0-9]+))?)))`,
},
},
versionURLTemplate: "https://golang.org/doc/go{{ .Major }}.{{ .Minor }})",
versionURLTemplate: "https://golang.org/doc/go{{ .Major }}.{{ .Minor }}",
}
}

View file

@ -25,7 +25,7 @@ func (j *Julia) Init(props properties.Properties, env environment.Environment) {
regex: `julia version (?P<version>((?P<major>[0-9]+).(?P<minor>[0-9]+).(?P<patch>[0-9]+)))`,
},
},
versionURLTemplate: "https://github.com/JuliaLang/julia/releases/tag/v{{ .Full }})",
versionURLTemplate: "https://github.com/JuliaLang/julia/releases/tag/v{{ .Full }}",
}
}

View file

@ -25,7 +25,7 @@ func (k *Kotlin) Init(props properties.Properties, env environment.Environment)
regex: `Kotlin version (?P<version>((?P<major>[0-9]+).(?P<minor>[0-9]+).(?P<patch>[0-9]+)))`,
},
},
versionURLTemplate: "https://github.com/JetBrains/kotlin/releases/tag/v{{ .Full }})",
versionURLTemplate: "https://github.com/JetBrains/kotlin/releases/tag/v{{ .Full }}",
}
}