Undo support for patch versions; use an opaque version string
This commit is contained in:
parent
108b323e10
commit
ee87cf2b63
3 changed files with 19 additions and 54 deletions
|
@ -45,8 +45,7 @@
|
|||
{{ $status := .Site.Params.version.status }}
|
||||
|
||||
{{ if ne $status "unstable"}}
|
||||
{{ $version_pieces := slice .Site.Params.version.major_version .Site.Params.version.minor_version .Site.Params.version.patch_version}}
|
||||
{{ $ret = delimit $version_pieces "." }}
|
||||
{{ $ret = .Site.Params.version.number }}
|
||||
{{ $ret = delimit (slice "version" $ret) " " }}
|
||||
{{ end }}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue