Skip to content
Snippets Groups Projects
Commit eded01f8 authored by Guillaume Communie's avatar Guillaume Communie
Browse files

[CI] keep history of deb packages

During deployment, the deb file is saved and an history of 5 previous
deb packages are also kept.
parent a1dc4dac
Branches
No related tags found
1 merge request!1Keep history of deb packages
Pipeline #11402 canceled
......@@ -142,7 +142,10 @@ deploy_daily:
- cd ${INSTALL_DIR}
- find . -maxdepth 1 ! -name "${PKG_NAME}" ! -name "." -exec rm -rf {} +
- dpkg -x ${PKG_NAME} .
- rm ${PKG_NAME}
- DEB_PREFIX="mantid_ill_"
- rm ${DEB_PREFIX}5.deb
- for i in {4..0}; do mv ${DEB_PREFIX}$i.deb ${DEB_PREFIX}$(($i+1)).deb"; done
- mv ${PKG_NAME} ${DEB_PREFIX}0.deb
deploy_nightly:
stage: deployment
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment