forgejo-deb/repo-deb/build.sh

17 lines
358 B
Bash
Raw Normal View History

#!/bin/bash
2023-07-25 21:44:52 +10:00
cp code-forgejo-org-forgejo-contrib.asc stub/
cp code-forgejo-org-forgejo-contrib.asc main/
cp forgejo-deb.list stub/
cp forgejo-deb.list main/
2024-06-16 01:39:03 +10:00
if [ "$1" = "actions" ] ; then
PACKAGE_BUILD_EXTRA_ARGS="--no-sign"
fi
cd stub
2024-06-16 01:39:03 +10:00
dpkg-buildpackage -b $PACKAGE_BUILD_EXTRA_ARGS
cd ..
cd main
2024-06-16 01:39:03 +10:00
dpkg-buildpackage -b $PACKAGE_BUILD_EXTRA_ARGS
cd ..
exit 0