forgejo-deb/repo-deb/build.sh
crystal 2907295f72
complex partial revert #33
reverts most of 5e142ef06c
0aedcd394d will need another complex revert
2024-04-28 11:58:09 -06:00

18 lines
425 B
Bash
Executable file

#!/bin/bash
cp code-forgejo-org-forgejo-contrib.asc stub/
cp code-forgejo-org-forgejo-contrib.asc main/
cp forgejo-deb.list_stub stub/forgejo-deb.list
cp forgejo-deb.list main/
cp forgejo-deb.list main/forgejo-deb-lts.list
if [ "$1" = "actions" ] ; then
PACKAGE_BUILD_EXTRA_ARGS="--no-sign"
fi
cd stub
dpkg-buildpackage -b $PACKAGE_BUILD_EXTRA_ARGS
cd ..
cd main
dpkg-buildpackage -b $PACKAGE_BUILD_EXTRA_ARGS
cd ..
exit 0