This commit is contained in:
ferreo 2024-07-27 20:02:20 +01:00
parent 367604b4c2
commit f813745447
3 changed files with 10 additions and 4 deletions

View File

@ -1,5 +1,5 @@
name: PikaOS Upstream Package Build & Release (amd64-v3 + LTO) name: PikaOS Upstream Package Build & Release (amd64-v3 + LTO)
run-name: Building ${{ github.sha }}
on: on:
push: push:
branches: branches:

View File

@ -1,5 +1,5 @@
name: PikaOS Upstream Package Build & Release (amd64-v3) name: PikaOS Upstream Package Build & Release (amd64-v3)
run-name: Building ${{ github.sha }}
on: on:
push: push:
branches: branches:

10
main.sh
View File

@ -21,10 +21,16 @@ fi
# Get build deps # Get build deps
#LOGNAME=root dh_make --createorig -y -l -p src-pkg-name_"$VERSION" || echo "dh-make: Ignoring Last Error" #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 # 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 # Move the debs to output
cd ../ cd ../