pika-sources/release.sh

12 lines
560 B
Bash
Raw Normal View History

2023-09-06 20:23:55 +02:00
# send debs to server
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
2023-02-25 11:14:27 +01:00
2023-09-06 20:23:55 +02:00
# add debs to repo
2023-09-28 18:59:23 +02:00
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-main-mantic /srv/www/incoming/'
2023-02-25 11:14:27 +01:00
2023-09-06 20:23:55 +02:00
# publish the repo
2023-09-28 18:59:23 +02:00
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite mantic filesystem:pikarepo:'
2023-02-25 11:14:27 +01:00
2023-09-06 20:23:55 +02:00
cp -vf ./output/pika-sources*.deb ./output/pika-sources.deb
2023-09-28 18:59:23 +02:00
rsync ./output/pika-sources.deb ferreo@direct.pika-os.com:/srv/www/pikarepo/dists/mantic/