diff --git a/main32.sh b/main32.sh index 37de461..7a5c9e1 100755 --- a/main32.sh +++ b/main32.sh @@ -2,10 +2,7 @@ set -e # Clone Upstream -git clone https://gitlab.freedesktop.org/mesa/mesa -b mesa-23.1.5 -cp -rvf ./debian ./mesa/ -cd ./mesa -sed -i ' 1 s/.*/& - PikaOS YellowBirb Mesa Stable/' ./VERSION +cd ./mesa-pika # Get build deps apt-get build-dep ./ -y diff --git a/release.sh b/release.sh index 7a5c9e1..98eac6c 100755 --- a/release.sh +++ b/release.sh @@ -1,17 +1,11 @@ -#! /bin/bash -set -e +# Sign the packages +dpkg-sig --sign builder ./output/*.deb -# Clone Upstream -cd ./mesa-pika +# Pull down existing ppa repo db files etc +rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo -# Get build deps -apt-get build-dep ./ -y +# Add the new package to the repo +reprepro -V --basedir ./output/repo/ includedeb lunar ./output/*.deb -# Build package - -dpkg-buildpackage --no-sign - -# Move the debs to output -cd ../ -mkdir -p ./output -mv ./*.deb ./output/ +# Push the updated ppa repo to the server +rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/