build: adds IANA timezone info to windows build (#21001)

This commit is contained in:
Leonard Gram 2019-12-10 16:00:37 +01:00 committed by GitHub
parent 2d5dc5d6b2
commit 67d83d1ffc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -115,6 +115,9 @@ if [ -d '/tmp/phantomjs/windows' ]; then
else else
echo 'PhantomJS binaries for Windows missing!' echo 'PhantomJS binaries for Windows missing!'
fi fi
cp /usr/local/go/lib/time/zoneinfo.zip tools/zoneinfo.zip
go run build.go -goos windows -pkg-arch amd64 ${OPT} package-only go run build.go -goos windows -pkg-arch amd64 ${OPT} package-only
rm tools/zoneinfo.zip
go run build.go latest go run build.go latest

View File

@ -33,7 +33,7 @@ module.exports = function(grunt) {
}); });
grunt.config('copy.backend_files', { grunt.config('copy.backend_files', {
expand: true, expand: true,
src: ['conf/**', 'tools/phantomjs/*', 'scripts/*'], src: ['conf/**', 'tools/**', 'scripts/*'],
options: { mode: true}, options: { mode: true},
dest: '<%= tempDir %>' dest: '<%= tempDir %>'
}); });