From dcf9561ad16b9b1d84bbcdc4a943e0f967bc2b73 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Sat, 18 Nov 2023 14:16:49 +0100 Subject: [PATCH] [CI/CD] Regenerate the Debian repo list files when the repo is rebuilt. --- .drone.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.drone.yml b/.drone.yml index 7f7dc18c09..c59b24b173 100644 --- a/.drone.yml +++ b/.drone.yml @@ -514,6 +514,14 @@ steps: cp "$GIT_DEB" "$APT_ROOT/pool/$DEB_VERSION/main/$${PKG_NAME}_$${VERSION}-1_all.deb" fi + - cat < "$TMP_APT_ROOT/platypush-oldstable-main.list" + deb https://apt.platypush.tech/ oldstable main + EOF + + - cat < "$TMP_APT_ROOT/platypush-oldstable-dev.list" + deb https://apt.platypush.tech/ oldstable dev + EOF + ### ### Updates the APT repository after new packages have been pushed ### @@ -616,6 +624,14 @@ steps: add_hashes "$dist_dir" "sha256sum" "SHA256" >> "$release_file" done + - cat < "$TMP_APT_ROOT/platypush-stable-main.list" + deb https://apt.platypush.tech/ stable main + EOF + + - cat < "$TMP_APT_ROOT/platypush-stable-dev.list" + deb https://apt.platypush.tech/ stable dev + EOF + - echo "-- Updating index file" - | cat < "$TMP_APT_ROOT/index.txt"