pika-sources/release.sh

22 lines
904 B
Bash
Raw Normal View History

2023-02-25 11:14:27 +01:00
# Sign the packages
dpkg-sig --sign builder ./output/pika-sources*.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
2023-08-28 13:44:37 +02:00
reprepro -C main -V --basedir ./output/repo/ removefilter lunar 'Package (% pika-sources*)'
2023-02-25 11:14:27 +01:00
# Add the new package to the repo
2023-08-28 13:44:37 +02:00
reprepro -C main -V --basedir ./output/repo/ includedeb lunar ./output/pika-sources*.deb
2023-02-25 11:14:27 +01:00
2023-05-02 10:36:34 +02:00
# Put pika-sources deb in repo full wget pulls
2023-05-02 10:46:50 +02:00
rm -rfv ./output/repo/dists/lunar/pika-sources.deb || true
2023-05-02 10:36:34 +02:00
mkdir -p ./output/repo/dists/lunar/
cp -vf ./output/pika-sources*.deb ./output/repo/dists/lunar/pika-sources.deb
2023-02-25 11:14:27 +01:00
# Push the updated ppa repo to the server
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/
2023-05-02 11:24:14 +02:00
rsync ./output/repo/dists/lunar/pika-sources.deb ferreo@direct.pika-os.com:/srv/www/pikappa/dists/lunar/