pika-amdgpu-core/release.sh
Ward Nakchbandi (Cosmic Fusion) 06f6dabcde
2023-08-28 13:14:58 +03:00

15 lines
588 B
Bash
Executable File

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