diff --git a/src/segments/dotnet.go b/src/segments/dotnet.go index 01907e76..00261451 100644 --- a/src/segments/dotnet.go +++ b/src/segments/dotnet.go @@ -29,7 +29,7 @@ func (d *Dotnet) Init(props properties.Properties, env environment.Environment) `(?:-(?P(?: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[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 } } diff --git a/src/segments/golang.go b/src/segments/golang.go index 1fe749d5..0dcd1c19 100644 --- a/src/segments/golang.go +++ b/src/segments/golang.go @@ -35,7 +35,7 @@ func (g *Golang) Init(props properties.Properties, env environment.Environment) regex: `(?:go(?P((?P[0-9]+).(?P[0-9]+)(.(?P[0-9]+))?)))`, }, }, - versionURLTemplate: "https://golang.org/doc/go{{ .Major }}.{{ .Minor }})", + versionURLTemplate: "https://golang.org/doc/go{{ .Major }}.{{ .Minor }}", } } diff --git a/src/segments/julia.go b/src/segments/julia.go index a12a00da..dbe77dba 100644 --- a/src/segments/julia.go +++ b/src/segments/julia.go @@ -25,7 +25,7 @@ func (j *Julia) Init(props properties.Properties, env environment.Environment) { regex: `julia version (?P((?P[0-9]+).(?P[0-9]+).(?P[0-9]+)))`, }, }, - versionURLTemplate: "https://github.com/JuliaLang/julia/releases/tag/v{{ .Full }})", + versionURLTemplate: "https://github.com/JuliaLang/julia/releases/tag/v{{ .Full }}", } } diff --git a/src/segments/kotlin.go b/src/segments/kotlin.go index 6cb6501f..bc203539 100644 --- a/src/segments/kotlin.go +++ b/src/segments/kotlin.go @@ -25,7 +25,7 @@ func (k *Kotlin) Init(props properties.Properties, env environment.Environment) regex: `Kotlin version (?P((?P[0-9]+).(?P[0-9]+).(?P[0-9]+)))`, }, }, - versionURLTemplate: "https://github.com/JetBrains/kotlin/releases/tag/v{{ .Full }})", + versionURLTemplate: "https://github.com/JetBrains/kotlin/releases/tag/v{{ .Full }}", } }