diff --git a/main32.sh b/main32.sh index 653c454..e2203d4 100755 --- a/main32.sh +++ b/main32.sh @@ -1,3 +1,6 @@ +#! /bin/bash +set -e + # Clone Upstream git clone https://gitlab.freedesktop.org/mesa/mesa cp -rvf ./debian ./mesa/ diff --git a/release.sh b/release.sh index e2203d4..98eac6c 100755 --- a/release.sh +++ b/release.sh @@ -1,21 +1,11 @@ -#! /bin/bash -set -e +# Sign the packages +dpkg-sig --sign builder ./output/*.deb -# Clone Upstream -git clone https://gitlab.freedesktop.org/mesa/mesa -cp -rvf ./debian ./mesa/ -cd ./mesa -touch debian/changelog -echo -e "mesa (23.3.git."$(git rev-parse --short HEAD)"-99pika"$(date '+%Y%m%d')") lunar; urgency=medium\n\n * New GIT Release\n\n -- Ward Nakchbandi Sat, 01 Oct 2022 14:50:00 +0200" > debian/changelog +# 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 ./mesa-vulkan*.deb ./output/ +# Push the updated ppa repo to the server +rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/