mirror of
https://github.com/octoleo/syncthing.git
synced 2025-02-07 22:38:26 +00:00
build: Use commit date as assets change date
This commit is contained in:
parent
c51365c634
commit
b87e5ed13d
1
build.go
1
build.go
@ -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")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user