From 5c36adae424ac4bc9ae808b865e34f6a26a3e677 Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Thu, 9 Oct 2025 14:01:26 +0300 Subject: [PATCH] Deb PPA: last few missing changes * Publish source package for every distro, not just the first one processed * Add README wrapper that was previously manually added * Autoproduce dists symlink --- .github/workflows/deb-publish.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deb-publish.yml b/.github/workflows/deb-publish.yml index 80bdb6de..7278a1fa 100644 --- a/.github/workflows/deb-publish.yml +++ b/.github/workflows/deb-publish.yml @@ -267,6 +267,7 @@ jobs: EOT fi mkdir -p "$PUBLIC_ROOT" + ln -sr "$PUBLIC_ROOT" "$PUBLIC_ROOT"/dists || /bin/true if [ "${{ steps.gpg.conclusion }}" != "skipped" ]; then cp -f /etc/apt/trusted.gpg.d/apt.bcachefs.org.asc "$PUBLIC_ROOT" fi @@ -275,6 +276,11 @@ jobs: mkdir -p "$PUBLIC_ROOT/.footer" envsubst < "${{ github.workspace }}/bcachefs-tools/doc/apt.bcachefs.org-README.md" | \ pandoc --from=markdown --to=html --output="$PUBLIC_ROOT/.footer/README" + tee "$PUBLIC_ROOT/.footer/README.html" < + + + EOT fi cd "${{ github.workspace }}/incoming/bin-artifacts" for DIST in * @@ -285,7 +291,7 @@ jobs: SNAPSHOT_NAME="$REPO_NAME-$SNAPSHOT_DATE" (aptly repo show $REPO_NAME > /dev/null 2>&1) || \ aptly repo create -distribution=$REPO_SUITE -component=main $REPO_NAME - aptly repo include -repo=$REPO_NAME \ + aptly repo include -repo=$REPO_NAME -no-remove-files \ "${{ github.workspace }}/incoming/src-artifacts" \ "${{ github.workspace }}/incoming/bin-artifacts/$DIST" \ ;