build: Use commit date as assets change date

This commit is contained in:
Jakob Borg 2018-05-29 08:49:25 +02:00
parent c51365c634
commit b87e5ed13d
1 changed files with 1 additions and 0 deletions

View File

@ -748,6 +748,7 @@ func listFiles(dir string) []string {
}
func rebuildAssets() {
os.Setenv("SOURCE_DATE_EPOCH", fmt.Sprint(buildStamp()))
runPipe("lib/auto/gui.files.go", "go", "run", "script/genassets.go", "gui")
runPipe("cmd/strelaypoolsrv/auto/gui.go", "go", "run", "script/genassets.go", "cmd/strelaypoolsrv/gui")
}