From 2de19d510f1d8ba172b40b4f44eb1f6723f6db5d Mon Sep 17 00:00:00 2001 From: ferrreo Date: Fri, 24 Feb 2023 12:30:29 +0000 Subject: [PATCH] Fix re-adding new pacakge --- scripts/release.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/release.sh b/scripts/release.sh index 46c6751..82e868f 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -6,12 +6,19 @@ echo "Pika Kernel - Releasing Kernel" dpkg-sig --sign builder ./output/linux-image*.deb dpkg-sig --sign builder ./output/linux-headers*.deb +# Pull down existing ppa repo db files etc rsync -azP --exclude '*.deb' ferreo@pika-os.com:/srv/www/pikappa/ ./output/repo +# Copy over our gpg key in case it has been updated cp ./output/key.gpg ./output/repo/key.gpg -# Update the repo +# Remove our existing package from the repo +reprepro -Vb --basedir ./output/repo/ remove kinetic linux-image* +reprepro -Vb --basedir ./output/repo/ remove kinetic linux-headers* + +# Add the new package to the repo reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/linux-image*.deb reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/linux-headers*.deb +# Push the updated ppa repo to the server rsync -azP ./output/repo/ ferreo@pika-os.com:/srv/www/pikappa/