chore: make dev versions increase monotonically (#33205)
This commit is contained in:
parent
01ffc7d12f
commit
10b0c99f17
11 changed files with 32 additions and 47 deletions
|
|
@ -54,6 +54,7 @@ func getPreferredLanguage(header string) string {
|
|||
func globalsJsHandler(custom Customization) http.HandlerFunc {
|
||||
globals := struct {
|
||||
Version string `json:"version"`
|
||||
Commit string `json:"commit"`
|
||||
CustomCss bool `json:"customCss"`
|
||||
CustomLogo bool `json:"customLogo"`
|
||||
Brand string `json:"customBrand"`
|
||||
|
|
@ -63,6 +64,7 @@ func globalsJsHandler(custom Customization) http.HandlerFunc {
|
|||
Theme string `json:"customTheme"`
|
||||
}{
|
||||
Version: util.Version,
|
||||
Commit: util.Commit,
|
||||
CustomCss: custom.Css != "",
|
||||
CustomLogo: custom.LogoLight != "",
|
||||
Brand: custom.Brand,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue