From 5c59fcee605dbe4c8deda941ac33a66d735b4ade Mon Sep 17 00:00:00 2001 From: "erique.rocha" Date: Tue, 14 Oct 2025 15:21:56 -0300 Subject: [PATCH] adjustment wf 5 --- .github/workflows/publish-deb-apt.yml | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/.github/workflows/publish-deb-apt.yml b/.github/workflows/publish-deb-apt.yml index 99d82d5..cba4d18 100644 --- a/.github/workflows/publish-deb-apt.yml +++ b/.github/workflows/publish-deb-apt.yml @@ -93,13 +93,27 @@ jobs: mkdir -p repo/dists/stable/main/binary-amd64 cd repo + apt-ftparchive packages pool > dists/stable/main/binary-amd64/Packages gzip -kf dists/stable/main/binary-amd64/Packages - apt-ftparchive release dists/stable > dists/stable/Release - + + cat > apt-ftparchive.conf << 'EOF' + APT::FTPArchive::Release { + Origin "DeveloperStartSpringboot"; + Label "DeveloperStartSpringboot"; + Suite "stable"; + Codename "stable"; + Architectures "amd64"; + Components "main"; + Description "DeveloperStartSpringboot APT repository"; + } + EOF + + apt-ftparchive -c apt-ftparchive.conf release dists/stable > dists/stable/Release + gpg --batch --yes --pinentry-mode loopback --passphrase "$GPG_PASSPHRASE" \ -abs -o dists/stable/Release.gpg dists/stable/Release - + gpg --batch --yes --pinentry-mode loopback --passphrase "$GPG_PASSPHRASE" \ --clearsign -o dists/stable/InRelease dists/stable/Release