Permalink
Browse files

Prevent deleting .gitkeep.

  • Loading branch information...
WhiteHalmos committed Sep 24, 2015
1 parent 838754c commit 634a52c24daca6f9d660ebfa2a02b778001b3e38
Showing with 1 addition and 1 deletion.
  1. BIN matchlog/.gitkeep
  2. +1 −1 scripts/daily
BIN -51 Bytes (0.0%) matchlog/.gitkeep
Binary file not shown.
@@ -7,6 +7,6 @@ docker-compose run --no-deps --entrypoint pg_dump run -h db -U robot -d robotgam
# Compress matches
# Note that -mtime +1 matches at least 2 days ago
# Keep for 2 weeks so fewer 404s for Google
docker-compose run --no-deps --entrypoint find run /matchlog/ -mtime +13 -delete;
docker-compose run --no-deps --entrypoint find run /matchlog/ ! -name '.gitkeep' -mtime +13 -delete;
# Do not compress.
#docker-compose run --no-deps --entrypoint find run /matchlog/ -not -path "/matchlog/" -not -path "*/.gitkeep" -not -name "*.gz" -exec gzip -6 "{}" \;

0 comments on commit 634a52c

Please sign in to comment.