pika-amdgpu-switcher/release.sh

15 lines
588 B
Bash
Raw Permalink Normal View History

2023-02-25 10:59:05 +01:00
# Sign the packages
dpkg-sig --sign builder ./output/pika-amdgpu-switcher*.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 kinetic 'Package (% pika-amdgpu-switcher*)'
# Add the new package to the repo
reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/pika-amdgpu-switcher*.deb
# Push the updated ppa repo to the server
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/