diff options
author | Rob Austein <sra@hactrn.net> | 2016-07-11 17:13:52 -0400 |
---|---|---|
committer | Rob Austein <sra@hactrn.net> | 2016-07-11 17:13:52 -0400 |
commit | 4b4c77f548891546a85b78e843e3af46472d38c9 (patch) | |
tree | 81c833ab10126f670011de6377d41fbaf6faf10d /Makefile | |
parent | d2d2a3f7af71b766d2d4026e648b380f124ad7e1 (diff) |
Clean up old Homebrew source package tarballs.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -101,9 +101,11 @@ homebrew: git push # rm -rf tap -# Still need: -# -# expire: target to expire old tarballs from .../brew/tarballs/, along the lines of download.rpki.net scripts +expire: + find ${REPO_BASE}/brew/tarballs \ + -name '${PACKAGE_NAME}_*.tar.xz' \ + ! -name '${PACKAGE_NAME}_${PACKAGE_VERSION}.tar.xz' \ + -mtime +7 -ls -delete RSYNC := rsync --rsh 'ssh -l ${REPO_UPLOAD_USER}' --archive --itemize-changes |