pika-sources/release.sh

12 lines
558 B
Bash
Raw Permalink 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-29 11:11:23 +02:00
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pikauwu-main /srv/www/incoming/'
2023-02-25 11:14:27 +01:00
2023-09-06 20:23:55 +02:00
# publish the repo
2023-09-29 11:11:23 +02:00
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite pikauwu 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-29 11:11:23 +02:00
rsync ./output/pika-sources.deb ferreo@direct.pika-os.com:/srv/www/pikarepo/dists/pikauwu/