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 fbe6efc commit 825f082
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions releng/org.eclipse.acceleo.releng/publish-nightly.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ QUALIFIER=$(echo ${UPDATE_ZIP} | sed 's/.*org.eclipse.acceleo-\(.*\).zip$/\1/')

P2_TIMESTAMP=$(date +"%s000")

# parameter for nightly clean up, keeps NIGHTLY_COUNT for the current version.
NIGHTLY_COUNT=10
VERSION=$(echo ${QUALIFIER} | cut -d"." -f1-3)

ssh "${SSH_ACCOUNT}" mkdir -p ${NIGHTLIES_FOLDER}/${QUALIFIER}
scp -rp ${UPDATE_ZIP} "${SSH_ACCOUNT}:${NIGHTLIES_FOLDER}/${QUALIFIER}"

Expand Down

0 comments on commit 825f082

Please sign in to comment.