diff --git a/.bra.toml b/.bra.toml index 22811f925..bd324f035 100755 --- a/.bra.toml +++ b/.bra.toml @@ -12,12 +12,12 @@ watch_dirs = [ "$WORKDIR/cmd", "$WORKDIR/options", ] # Directories to watch -watch_exts = [".go", ".ini"] # Extensions to watch +watch_exts = [".go", ".ini", ".less"] # Extensions to watch env_files = [] # Load env vars from files ignore = [".git", "node_modules"] # Directories to exclude from watching ignore_files = [] # Regexps for ignoring specific notifies follow_symlinks = false # Enable/disable following symbolic links of sub directories -build_delay = 1500 # Minimal interval to Trigger build event +build_delay = 3000 # Minimal interval to Trigger build event interrupt_timout = 15 # Time to wait until force kill graceful_kill = false # Wait for exit and before directly kill cmds = [ # Commands to run diff --git a/main.go b/main.go index 90feaa9bb..34387c433 100644 --- a/main.go +++ b/main.go @@ -11,6 +11,7 @@ import ( "os" "runtime" "strings" + "time" "code.gitea.io/gitea/cmd" "code.gitea.io/gitea/modules/log" @@ -38,7 +39,7 @@ var ( ) func init() { - setting.AppVer = Version + setting.AppVer = time.Now().String() setting.AppBuiltWith = formatBuiltWith() // Grab the original help templates diff --git a/templates/datasets/create.tmpl b/templates/datasets/create.tmpl index 0fecd5f1b..9a18e4a0d 100644 --- a/templates/datasets/create.tmpl +++ b/templates/datasets/create.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -