Update release.sh
This commit is contained in:
parent
17f84d4dce
commit
d2412c0f83
26
release.sh
26
release.sh
@ -1,21 +1,11 @@
|
|||||||
# Sign the packages
|
# send debs to server
|
||||||
dpkg-sig --sign builder ./output/pika-sources*.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/'
|
||||||
|
|
||||||
# Remove our existing package from the repo
|
# publish the repo
|
||||||
reprepro -C main -V --basedir ./output/repo/ removefilter lunar 'Package (% pika-sources*)'
|
ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
|
||||||
|
|
||||||
# Add the new package to the repo
|
cp -vf ./output/pika-sources*.deb ./output/pika-sources.deb
|
||||||
reprepro -C main -V --basedir ./output/repo/ includedeb lunar ./output/pika-sources*.deb
|
rsync ./output/repo/dists/lunar/pika-sources.deb ferreo@direct.pika-os.com:/srv/www/pikarepo/dists/lunar/
|
||||||
|
|
||||||
# Put pika-sources deb in repo full wget pulls
|
|
||||||
rm -rfv ./output/repo/dists/lunar/pika-sources.deb || true
|
|
||||||
mkdir -p ./output/repo/dists/lunar/
|
|
||||||
cp -vf ./output/pika-sources*.deb ./output/repo/dists/lunar/pika-sources.deb
|
|
||||||
|
|
||||||
# Push the updated ppa repo to the server
|
|
||||||
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/
|
|
||||||
|
|
||||||
rsync ./output/repo/dists/lunar/pika-sources.deb ferreo@direct.pika-os.com:/srv/www/pikappa/dists/lunar/
|
|
||||||
|
Loading…
Reference in New Issue
Block a user