pika-baseos/release.sh
2023-08-30 20:44:14 +01:00

15 lines
573 B
Bash
Executable File

# Sign the packages
dpkg-sig --sign builder ./output/pika-baseos*.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 (% pika-baseos*)'
# Add the new package to the repo
reprepro -V -C main --basedir ./output/repo/ includedeb lunar ./output/pika-baseos*.deb
# Push the updated ppa repo to the server
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/