From ac04591315e2f8517e89e3ef63c73c6ead4e31cb Mon Sep 17 00:00:00 2001 From: ferrreo Date: Mon, 24 Apr 2023 19:45:13 +0100 Subject: [PATCH] Update for lunar --- .github/workflows/build.yml | 2 +- .github/workflows/release.yml | 2 +- output/repo/.gitkeep | 0 scripts/release.sh | 9 +++++---- 4 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 output/repo/.gitkeep diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1746b8a..253fcff 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -8,7 +8,7 @@ jobs: build: runs-on: self-hosted container: - image: ubuntu:23:04 + image: ubuntu:latest volumes: - /proc:/proc options: --privileged -it diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9afae0b..c497f86 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ jobs: build: runs-on: self-hosted container: - image: ubuntu:23.04 + image: ubuntu:latest volumes: - /proc:/proc options: --privileged -it diff --git a/output/repo/.gitkeep b/output/repo/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/scripts/release.sh b/scripts/release.sh index 696faa2..71ef7e4 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -5,20 +5,21 @@ echo "Pika Kernel - Releasing Kernel" # Sign the packages dpkg-sig --sign builder ./output/linux-image*.deb dpkg-sig --sign builder ./output/linux-headers*.deb -#dpkg-sig --sign builder ./output/linux-tools*.deb +echo "Pika Kernel - Package sign complete" # Pull down existing ppa repo db files etc rsync -azP --exclude '*.deb' ferreo@direct.pika-os.com:/srv/www/pikappa/ ./output/repo - -# Copy over our gpg key in case it has been updated -cp ./output/key.gpg ./output/repo/key.gpg +echo "Pika Kernel - Repo rsync pull complete" # Remove our existing package from the repo - only for current version so we can update it reprepro -V --basedir ./output/repo/ removefilter lunar 'Package (% linux-*-6.3.0-pikaos*)' +echo "Pika Kernel - Repo clean complete" # Add the new package to the repo reprepro -V --basedir ./output/repo/ includedeb lunar ./output/linux-image*.deb reprepro -V --basedir ./output/repo/ includedeb lunar ./output/linux-headers*.deb +echo "Pika Kernel - Repo update complete" # Push the updated ppa repo to the server rsync -azP ./output/repo/ ferreo@direct.pika-os.com:/srv/www/pikappa/ +echo "Pika Kernel - Repo rsync push complete"