pika-sources/release.sh
Ward Nakchbandi (Cosmic Fusion) 2ceed7ac25
Update release.sh
2023-05-02 11:46:50 +03:00

20 lines
782 B
Bash
Executable File

# Sign the packages
dpkg-sig --sign builder ./output/pika-sources*.deb
# Pull down existing ppa repo db files etc
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*)'
# Add the new package to the repo
reprepro -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
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/