chore: make dev versions increase monotonically (#33205)

This commit is contained in:
andig 2026-08-26 21:11:46 +02:00 • committed by GitHub
parent 01ffc7d12f
commit 10b0c99f17
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 32 additions and 47 deletions

View file

@ -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,