From bb6e5dead4d0df5aea05b3e53c58be1e30740357 Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Sun, 12 Oct 2025 04:11:24 +0300 Subject: [PATCH] Deb PPA: consistently specify publish prefix --- .github/workflows/deb-publish.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/deb-publish.yml b/.github/workflows/deb-publish.yml index 7278a1fa..a960901f 100644 --- a/.github/workflows/deb-publish.yml +++ b/.github/workflows/deb-publish.yml @@ -289,6 +289,7 @@ jobs: REPO_NAME="$DIST-${{ env.SUITE }}" REPO_SUITE="bcachefs-tools-${{ env.SUITE }}" SNAPSHOT_NAME="$REPO_NAME-$SNAPSHOT_DATE" + PUBLISH_PREFIX="filesystem:public:$DIST" (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 -no-remove-files \ @@ -296,9 +297,9 @@ jobs: "${{ github.workspace }}/incoming/bin-artifacts/$DIST" \ ; aptly snapshot create $SNAPSHOT_NAME from repo $REPO_NAME - (aptly publish show $REPO_SUITE $DIST > /dev/null 2>&1) || \ - aptly publish snapshot -acquire-by-hash -origin="apt.bcachefs.org" -label="apt.bcachefs.org Packages" $SNAPSHOT_NAME filesystem:public:$DIST - aptly publish switch $REPO_SUITE filesystem:public:$DIST $SNAPSHOT_NAME + (aptly publish show $REPO_SUITE $PUBLISH_PREFIX > /dev/null 2>&1) || \ + aptly publish snapshot -acquire-by-hash -origin="apt.bcachefs.org" -label="apt.bcachefs.org Packages" $SNAPSHOT_NAME $PUBLISH_PREFIX + aptly publish switch $REPO_SUITE $PUBLISH_PREFIX $SNAPSHOT_NAME echo '::endgroup::' done umount "$MOUNTPOINT" || /bin/true