linux-firmware/release.sh
Ward Nakchbandi (Cosmic Fusion) acff42fae3
rollback
2023-05-26 17:35:04 +03:00

15 lines
538 B
Bash
Executable File

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