mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-12-08 00:00:12 +03:00
Deb PPA: consistently specify publish prefix
This commit is contained in:
parent
4050199158
commit
bb6e5dead4
7
.github/workflows/deb-publish.yml
vendored
7
.github/workflows/deb-publish.yml
vendored
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user