Update release.sh

This commit is contained in:
Ward Nakchbandi (Cosmic Fusion) 2023-08-28 14:44:37 +03:00 committed by GitHub
parent 9b42a35927
commit f1b0b55797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,10 +5,10 @@ dpkg-sig --sign builder ./output/pika-sources*.deb
rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo
# Remove our existing package from the repo
reprepro -V --basedir ./output/repo/ removefilter lunar 'Package (% pika-sources*)'
reprepro -C main -V --basedir ./output/repo/ removefilter lunar 'Package (% pika-sources*)'
# Add the new package to the repo
reprepro -V --basedir ./output/repo/ includedeb lunar ./output/pika-sources*.deb
reprepro -C main -V --basedir ./output/repo/ includedeb lunar ./output/pika-sources*.deb
# Put pika-sources deb in repo full wget pulls
rm -rfv ./output/repo/dists/lunar/pika-sources.deb || true