Skip to content

Commit

Permalink
Added a nightly clean up to the publish script (disable).
Browse files Browse the repository at this point in the history
  • Loading branch information
ylussaud committed Feb 20, 2024
1 parent d27e72d commit fbe6efc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 64 deletions.
7 changes: 6 additions & 1 deletion releng/org.eclipse.acceleo.releng/publish-nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ ssh "${SSH_ACCOUNT}" -T <<EOF
unzip "${ZIP_NAME}"
rm ${ZIP_NAME}
popd
# make sure permissions are for the acceleo group
chgrp -R ${GROUP} ${NIGHTLIES_FOLDER}/${QUALIFIER}
chmod -R g+w ${NIGHTLIES_FOLDER}/${QUALIFIER}
Expand All @@ -45,4 +45,9 @@ ssh "${SSH_ACCOUNT}" -T <<EOF
rm -r *
cp -r ../${QUALIFIER}/* .
popd
# 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
popd
EOF
63 changes: 0 additions & 63 deletions releng/scripts/publish-nightly.sh

This file was deleted.

0 comments on commit fbe6efc

Please sign in to comment.