forgejo-deb/repo-deb/build.sh

18 lines
425 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/
2024-04-29 02:12:48 +10:00
cp forgejo-deb.list_stub stub/forgejo-deb.list
cp forgejo-deb.list main/
2024-04-29 02:12:48 +10:00
cp forgejo-deb.list main/forgejo-deb-lts.list
2024-04-28 10:55:53 +10:00
if [ "$1" = "actions" ] ; then
PACKAGE_BUILD_EXTRA_ARGS="--no-sign"
fi
cd stub
2024-04-28 10:55:53 +10:00
dpkg-buildpackage -b $PACKAGE_BUILD_EXTRA_ARGS
cd ..
cd main
2024-04-28 10:55:53 +10:00
dpkg-buildpackage -b $PACKAGE_BUILD_EXTRA_ARGS
cd ..
exit 0