Update release.sh

This commit is contained in:
ferrreo 2023-06-10 23:11:24 +01:00 committed by GitHub
parent 47f1d43f8d
commit 2b07df848b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,22 +3,13 @@
echo "Pika Kernel - Releasing Kernel"
# Sign the packages
dpkg-sig --sign builder ./output/linux-image*.deb
dpkg-sig --sign builder ./output/linux-headers*.deb
echo "Pika Kernel - Package sign complete"
dpkg-sig --sign builder ./output/*.deb
# Pull down existing ppa repo db files etc
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
echo "Pika Kernel - Repo rsync pull complete"
# Remove our existing package from the repo - only for current version so we can update it
reprepro -V --basedir ./output/repo/ removefilter lunar 'Package (% linux-*-6.4.0-pikaos*)'
echo "Pika Kernel - Repo clean complete"
# Add the new package to the repo
reprepro -V --basedir ./output/repo/ includedeb lunar ./output/*.deb
echo "Pika Kernel - Repo update complete"
# Push the updated ppa repo to the server
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/
echo "Pika Kernel - Repo rsync push complete"