2023-07-03 07:15:20 +10:00
|
|
|
#!/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/
|
2023-07-03 07:15:20 +10:00
|
|
|
cp forgejo-deb.list stub/
|
|
|
|
cp forgejo-deb.list main/
|
2024-04-28 10:55:53 +10:00
|
|
|
if [ "$1" = "actions" ] ; then
|
|
|
|
PACKAGE_BUILD_EXTRA_ARGS="--no-sign"
|
|
|
|
fi
|
2023-07-03 07:15:20 +10:00
|
|
|
cd stub
|
2024-04-28 10:55:53 +10:00
|
|
|
dpkg-buildpackage -b $PACKAGE_BUILD_EXTRA_ARGS
|
2023-07-03 07:15:20 +10:00
|
|
|
cd ..
|
|
|
|
cd main
|
2024-04-28 10:55:53 +10:00
|
|
|
dpkg-buildpackage -b $PACKAGE_BUILD_EXTRA_ARGS
|
2023-07-03 07:15:20 +10:00
|
|
|
cd ..
|
|
|
|
exit 0
|