Update release.sh

This commit is contained in:
ferrreo 2023-02-25 15:00:35 +00:00 committed by GitHub
parent 5bc1204ed6
commit 5ed96b8a58
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,7 @@ echo "Pika Kernel - Releasing Kernel"
# Sign the packages # Sign the packages
dpkg-sig --sign builder ./output/linux-image*.deb dpkg-sig --sign builder ./output/linux-image*.deb
dpkg-sig --sign builder ./output/linux-headers*.deb dpkg-sig --sign builder ./output/linux-headers*.deb
dpkg-sig --sign builder ./output/linux-tools*.deb
# Pull down existing ppa repo db files etc # Pull down existing ppa repo db files etc
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
@ -18,6 +19,7 @@ reprepro -V --basedir ./output/repo/ removefilter kinetic 'Package (% linux-*-pi
# Add the new package to the repo # 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-image*.deb
reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/linux-headers*.deb reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/linux-headers*.deb
reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/linux-tools*.deb
# Push the updated ppa repo to the server # Push the updated ppa repo to the server
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/