pkg-bottles/release.sh
2023-02-24 13:29:17 +00:00

14 lines
558 B
Bash

# Sign the packages
dpkg-sig --sign builder ./output/packageNameHere*.deb
# Pull down existing ppa repo db files etc
rsync -azP --exclude '*.deb' ferreo@pika-os.com:/srv/www/pikappa/ ./output/repo
# Remove our existing package from the repo
reprepro -V --basedir ./output/repo/ removefilter kinetic 'Package (% packageNameHere*)'
# Add the new package to the repo
reprepro -V --basedir ./output/repo/ includedeb kinetic ./output/packageNameHere*.deb
# Push the updated ppa repo to the server
rsync -azP ./output/repo/ ferreo@pika-os.com:/srv/www/pikappa/