kernel-pika/release.sh
2023-08-29 12:33:43 +01:00

15 lines
574 B
Bash
Executable File

# Sign the packages
dpkg-sig --sign builder ./output/kernel-pika*.deb
# Pull down existing ppa repo db files etc
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
# Remove our existing package from the repo
reprepro -V -C main --basedir ./output/repo/ removefilter lunar 'Package (% kernel-pika*)'
# Add the new package to the repo
reprepro -V -C main --basedir ./output/repo/ includedeb lunar ./output/kernel-pika*.deb
# Push the updated ppa repo to the server
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/