Update release.sh

This commit is contained in:
ferrreo 2023-09-06 21:07:37 +01:00 committed by GitHub
parent 012fa012e4
commit 5cad0f0fe4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,8 @@
# Sign the packages # send debs to server
dpkg-sig --sign builder ./output/pika-amdgpu-switcher*.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-amdgpu-switcher*)' ssh ferreo@direct.pika-os.com 'aptly publish update -batch -skip-contents -force-overwrite lunar filesystem:pikarepo:'
# Add the new package to the repo
reprepro -C main -V --basedir ./output/repo/ includedeb lunar ./output/pika-amdgpu-switcher*.deb
# Push the updated ppa repo to the server
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/