Sha256: 57dfe523613ca94391a130ee77f72ccef9c28823bba133af87d414ddf714d787

Contents?: true

Size: 287 Bytes

Versions: 7

Compression:

Stored size: 287 Bytes

Contents

echo\ "\-\-\-\-\->\ Cleaning\ up\ old\ releases\ \(keeping\ 2\)"
\(cd\ .*/deploy/releases\ &&\ count=\$\(ls\ \-A1\ \|\ sort\ \-rn\ \|\ wc\ \-l\)\ &&\ remove=\$\(\(count\ >\ 2\ \?\ count\ \-\ 2\ :\ 0\)\)\ &&\ ls\ \-A1\ \|\ sort\ \-rn\ \|\ tail\ \-n\ \$remove\ \|\ xargs\ rm\ \-rf\ \{\}\)

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mina-1.0.3 spec/support/outputs/deploy_cleanup.txt
mina-1.0.2 spec/support/outputs/deploy_cleanup.txt
mina-1.0.0 spec/support/outputs/deploy_cleanup.txt
mina-1.0.0.rc2 spec/support/outputs/deploy_cleanup.txt
mina-1.0.0.beta5 spec/support/outputs/deploy_cleanup.txt
mina-1.0.0.beta4 spec/support/outputs/deploy_cleanup.txt
mina-1.0.0.beta3 spec/support/outputs/deploy_cleanup.txt