diff options
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 |