pika-amdgpu-switcher/release.sh
Ward Nakchbandi (Cosmic Fusion) 012fa012e4
Update release.sh
2023-08-28 14:00:27 +03:00

15 lines
600 B
Bash
Executable File

# 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 -C main -V --basedir ./output/repo/ removefilter lunar 'Package (% pika-amdgpu-switcher*)'
# Add the new package to the repo
reprepro -C main -V --basedir ./output/repo/ includedeb lunar ./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/