From c3fbd7d4de974a9cc4355886af419b224612cc4d Mon Sep 17 00:00:00 2001 From: ferrreo Date: Wed, 6 Sep 2023 21:43:00 +0100 Subject: [PATCH] Update release.sh --- release.sh | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/release.sh b/release.sh index ea46181..5c59923 100755 --- a/release.sh +++ b/release.sh @@ -1,11 +1,8 @@ -# Sign the packages -dpkg-sig --sign builder ./output/*.deb +# send debs to server +rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/ -# Pull down existing ppa repo db files etc -rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo +# add debs to repo +ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-main /srv/www/incoming/' -# Add the new package to the repo -reprepro -V -C main --basedir ./output/repo/ includedeb lunar ./output/*.deb - -# Push the updated ppa repo to the server -rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ +# publish the repo +ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'