From f813745447b448e4880f198a3c7a816b58cc54dc Mon Sep 17 00:00:00 2001 From: ferreo Date: Sat, 27 Jul 2024 20:02:20 +0100 Subject: [PATCH] fix main --- .github/workflows/lto.yml | 2 +- .github/workflows/v3.yml | 2 +- main.sh | 10 ++++++++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lto.yml b/.github/workflows/lto.yml index 6b20d3942..754002973 100644 --- a/.github/workflows/lto.yml +++ b/.github/workflows/lto.yml @@ -1,5 +1,5 @@ name: PikaOS Upstream Package Build & Release (amd64-v3 + LTO) -run-name: Building ${{ github.sha }} + on: push: branches: diff --git a/.github/workflows/v3.yml b/.github/workflows/v3.yml index 0d821d185..d69ed77e0 100644 --- a/.github/workflows/v3.yml +++ b/.github/workflows/v3.yml @@ -1,5 +1,5 @@ name: PikaOS Upstream Package Build & Release (amd64-v3) -run-name: Building ${{ github.sha }} + on: push: branches: diff --git a/main.sh b/main.sh index 6dc936fed..1c0679ae3 100755 --- a/main.sh +++ b/main.sh @@ -21,10 +21,16 @@ fi # Get build deps #LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error" -apt-get build-dep ./ -y +# Get build deps +apt-get build-dep "$PIKA_PACKAGE_NAME=$VERSION" -y # Build package -dpkg-buildpackage --no-sign +for i in ./*.dsc +do + dpkg-source -x $i + cd $(dpkg-source -x $i | grep "dpkg-source: info: extracting $1 in" | cut -d":" -f3 | sed -s "s/extracting $1 in/ /g") + dpkg-buildpackage --no-sign +done # Move the debs to output cd ../