diff --git a/create-packages.sh b/create-packages.sh index 420ae3a80cc9104f664b9a8969c7ac0770e6e576..6a0c48eab47055afb3fa57178fbdc450d74dc782 100755 --- a/create-packages.sh +++ b/create-packages.sh @@ -160,9 +160,12 @@ if [[ -n $PUSH_DEB ]]; then echo "please create first python3-wile-coyote_${VERSION}-1_all.deb" exit fi - scp $PKG aptly@repositories01.geant.org:deb/ubuntu-20.04/geant_deb/pool/main/p/python3-wile-coyote/ - echo -e "\nupdating repo..." - ssh aptly@repositories01.geant.org ${SCRIPT_DIR}/geant-deb-update.sh 20.04 + for REL in 20.04 22.04; do + echo -e "\n\npushing to aptly repository for Ubuntu ${REL}..." + scp $PKG aptly@repositories01.geant.org:deb/ubuntu-$REL/geant_deb/pool/main/p/python3-wile-coyote/ + echo -e "\nupdating repo..." + ssh aptly@repositories01.geant.org ${SCRIPT_DIR}/geant-deb-update.sh $REL + done echo -e "\nsynchronizing repository across servers..." ssh aptly@repositories01.geant.org ${SCRIPT_DIR}/repos-rsync.sh >/dev/null fi