From 0233badc89f1b0fcdf1eedeea31dd943eb98458d Mon Sep 17 00:00:00 2001 From: ferrreo Date: Sat, 10 Jun 2023 23:30:59 +0100 Subject: [PATCH] Create release.sh --- release.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 release.sh diff --git a/release.sh b/release.sh new file mode 100644 index 0000000..22d6e01 --- /dev/null +++ b/release.sh @@ -0,0 +1,11 @@ +# Sign the packages +dpkg-sig --sign builder ./output/*.deb + +# Pull down existing ppa repo db files etc +rsync -azqP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo + +# Add the new package to the repo +reprepro -V --basedir ./output/repo/ includedeb lunar ./output/*.deb + +# Push the updated ppa repo to the server +rsync -azqP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/