Update release.sh

This commit is contained in:
ferrreo 2023-06-11 22:49:09 +01:00 committed by GitHub
parent 05f674cb48
commit 55902871c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,14 @@
# Sign the packages # Sign the packages
dpkg-sig --sign builder ./output/pika-session*.deb dpkg-sig --sign builder ./output/pika-hyprland-session*.deb
# Pull down existing ppa repo db files etc # Pull down existing ppa repo db files etc
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
# Remove our existing package from the repo # Remove our existing package from the repo
reprepro -V --basedir ./output/repo/ removefilter lunar 'Package (% pika-session*)' reprepro -V --basedir ./output/repo/ removefilter lunar 'Package (% pika-hyprland-session*)'
# Add the new package to the repo # Add the new package to the repo
reprepro -V --basedir ./output/repo/ includedeb lunar ./output/pika-session*.deb reprepro -V --basedir ./output/repo/ includedeb lunar ./output/pika-hyprland-session*.deb
# Push the updated ppa repo to the server # Push the updated ppa repo to the server
rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/