Skip to content

Commit

Permalink
Update post_release_cleanup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
seyuf authored Apr 5, 2024
1 parent 0e9e6a9 commit ed1fa30
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions config/pipelines/scripts/staging/post_release_cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ echo "cleaning up buckets"

KEEP_RELEASE_NR="NR>$1";


rm -f `ls -t | awk $KEEP_RELEASE_NR`
ls -thla

cd ../releases/
rm -rf `ls -t | awk $KEEP_RELEASE_NR`
echo "cleaning up releases"

rm -rf `ls -t | awk $KEEP_RELEASE_NR`
ls -thla

0 comments on commit ed1fa30

Please sign in to comment.