Update release.sh
This commit is contained in:
parent
818f7d0c09
commit
efc7d83ab1
15
release.sh
15
release.sh
@ -1,11 +1,8 @@
|
|||||||
# Sign the packages
|
# send debs to server
|
||||||
dpkg-sig --sign builder ./output/*.deb
|
rsync -azP --include './' --include '*.deb' --exclude '*' ./output/ ferreo@direct.pika-os.com:/srv/www/incoming/
|
||||||
|
|
||||||
# Pull down existing ppa repo db files etc
|
# add debs to repo
|
||||||
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
|
ssh ferreo@direct.pika-os.com 'aptly repo add -force-replace -remove-files pika-main /srv/www/incoming/'
|
||||||
|
|
||||||
# Add the new package to the repo
|
# publish the repo
|
||||||
reprepro -V -C main --basedir ./output/repo/ includedeb lunar ./output/*.deb
|
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||||
|
|
||||||
# Push the updated ppa repo to the server
|
|
||||||
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/
|
|
||||||
|
Loading…
Reference in New Issue
Block a user