mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
fix(version): change development version naming to avoid breaking some clients
Some Miniflux clients expect a specific version format. For example, Flux News converts the string version to an integer. Using `Development Version` will break some clients.
This commit is contained in:
parent
f6532e16f2
commit
9536ce7dbc
3 changed files with 7 additions and 4 deletions
|
@ -13,10 +13,10 @@
|
|||
<ul>
|
||||
<li>
|
||||
<strong>{{ t "page.about.version" }}</strong>
|
||||
{{ if startsWith .version "2." }}
|
||||
<a href="https://github.com/miniflux/v2/releases/tag/{{ .version }}">{{ .version }}</a>
|
||||
{{ else }}
|
||||
{{ if contains .version "dev" }}
|
||||
{{ .version }}
|
||||
{{ else }}
|
||||
<a href="https://github.com/miniflux/v2/releases/tag/{{ .version }}">{{ .version }}</a>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ if .commit }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue