2907295f72
reverts most of5e142ef06c
0aedcd394d
will need another complex revert
18 lines
425 B
Bash
Executable file
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
|