Skip to content

Commit

Permalink
Added a nightly clean up to the publish script (enable).
Browse files Browse the repository at this point in the history
  • Loading branch information
ylussaud committed Feb 21, 2024
1 parent 825f082 commit d794341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion releng/org.eclipse.acceleo.releng/publish-nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,6 @@ ssh "${SSH_ACCOUNT}" -T <<EOF
# remove older nightly
pushd ${NIGHTLIES_FOLDER}
ls -tr | grep -F ${VERSION} | head -n $(expr $(ls -tr | grep -F ${VERSION} | wc -l) - ${NIGHTLY_COUNT}) | xargs echo rm -rf
ls -tr | grep -F ${VERSION} | head -n $(expr $(ls -tr | grep -F ${VERSION} | wc -l) - ${NIGHTLY_COUNT}) | xargs rm -rf
popd
EOF

0 comments on commit d794341

Please sign in to comment.