pika-sources/release.sh
Ward Nakchbandi (Cosmic Fusion) 5b7d38adfd
Update release.sh
2023-05-02 12:24:14 +03:00

22 lines
888 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/
rsync ./output/repo/dists/lunar/pika-sources.deb ferreo@direct.pika-os.com:/srv/www/pikappa/dists/lunar/