Skip to content

Commit

Permalink
Updated version numbers to clear cache
Browse files Browse the repository at this point in the history
  • Loading branch information
Forceu committed Feb 5, 2025
1 parent c445fd9 commit 472935b
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 11 deletions.
6 changes: 3 additions & 3 deletions build/go-generate/minifyStaticContent.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,6 @@ func fileExists(filename string) bool {
// Auto-generated content below, do not modify
// Version codes can be changed in updateVersionNumbers.go

const jsAdminVersion = 7
const jsE2EVersion = 3
const cssMainVersion = 3
const jsAdminVersion = 8
const jsE2EVersion = 5
const cssMainVersion = 4
8 changes: 4 additions & 4 deletions build/go-generate/updateVersionNumbers.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ import (
"strings"
)

const versionJsAdmin = 7
const versionJsDropzone = 4
const versionJsE2EAdmin = 3
const versionCssMain = 3
const versionJsAdmin = 8
const versionJsDropzone = 5
const versionJsE2EAdmin = 5
const versionCssMain = 4

const fileMain = "../../cmd/gokapi/Main.go"
const fileMinify = "../../build/go-generate/minifyStaticContent.go"
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions internal/webserver/web/templates/string_constants.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

// Specifies the version of JS files, so that the browser doesn't
// use a cached version, if the file has been updated
{{define "js_admin_version"}}7{{end}}
{{define "js_dropzone_version"}}4{{end}}
{{define "js_e2eversion"}}3{{end}}
{{define "css_main"}}3{{end}}
{{define "js_admin_version"}}8{{end}}
{{define "js_dropzone_version"}}5{{end}}
{{define "js_e2eversion"}}5{{end}}
{{define "css_main"}}4{{end}}

0 comments on commit 472935b

Please sign in to comment.