Merge branch 'stable-2.14' into stable-2.15

* stable-2.14:
  Make zip generation (more) reproducible
  Make _bower_archive rule deterministic

Change-Id: Ic7f059bc53b1a5bb970b8e52708679f9c784c6bf
This commit is contained in:
David Pursehouse
2018-04-25 08:58:24 +09:00
4 changed files with 21 additions and 5 deletions

View File

@@ -73,6 +73,8 @@ genrule2(
("tar -hcf- $(locations :pg_code) |" +
" tar --strip-components=2 -C $$TMP/ -xf-"),
"cd $$TMP",
"TZ=UTC",
"export TZ",
"find . -exec touch -t 198001010000 '{}' ';'",
"zip -rq $$ROOT/$@ *",
]),