12 lines
551 B
Bash
Executable File
12 lines
551 B
Bash
Executable File
# send debs to server
|
|
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
|
|
|
# add debs to repo
|
|
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-main /srv/www/incoming/'
|
|
|
|
# publish the repo
|
|
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
|
|
|
cp -vf ./output/pika-sources*.deb ./output/pika-sources.deb
|
|
rsync ./output/pika-sources.deb ferreo@direct.pika-os.com:/srv/www/pikarepo/dists/lunar/
|