forgejo-deb/repo-deb/build.sh
crystal 43eaa353a8
complex partial revert #36 #33 #32
this should be the last complex revert PR
setting up a user friendly migration path for the repo component switch
ended up being a lot more complicated than I initially expected

there will be one more cleanup PR after this
2024-04-28 12:33:23 -06:00

17 lines
358 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/
cp forgejo-deb.list main/
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