chore: semver-compliant version for dev and nightly builds (#32663)
This commit is contained in:
parent
c1fac30171
commit
09c2ce3055
14 changed files with 103 additions and 64 deletions
|
|
@ -45,7 +45,6 @@ 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"`
|
||||
|
|
@ -54,7 +53,6 @@ func globalsJsHandler(custom Customization) http.HandlerFunc {
|
|||
Phone string `json:"customPhone"`
|
||||
}{
|
||||
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