[CI/CD] Regenerate the Debian repo list files when the repo is rebuilt.

This commit is contained in:
Fabio Manganiello 2023-11-18 14:16:49 +01:00
parent 1a777c6276
commit dcf9561ad1
Signed by: blacklight
GPG key ID: D90FBA7F76362774

View file

@ -514,6 +514,14 @@ steps:
cp "$GIT_DEB" "$APT_ROOT/pool/$DEB_VERSION/main/$${PKG_NAME}_$${VERSION}-1_all.deb"
fi
- cat <<EOF > "$TMP_APT_ROOT/platypush-oldstable-main.list"
deb https://apt.platypush.tech/ oldstable main
EOF
- cat <<EOF > "$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 <<EOF > "$TMP_APT_ROOT/platypush-stable-main.list"
deb https://apt.platypush.tech/ stable main
EOF
- cat <<EOF > "$TMP_APT_ROOT/platypush-stable-dev.list"
deb https://apt.platypush.tech/ stable dev
EOF
- echo "-- Updating index file"
- |
cat <<EOF > "$TMP_APT_ROOT/index.txt"