pika-hyprland-desktop/release.sh
2023-06-11 20:23:23 +01:00

15 lines
587 B
Bash
Executable File

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