ProspectOne / perfops-cli

A simple command line tool to interact with hundreds of servers around the world.
https://perfops.net/cli
288 stars 45 forks source link

Prune files #17

Closed jimaek closed 7 years ago

jimaek commented 7 years ago

I want to host only the last 2 versions of the binary. Can you write a script that would delete everything older than 2 versions after a deployment is successful?

https://blog.packagecloud.io/api/2015/07/06/pruning-packages-using-the-API/