43eaa353a8
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
17 lines
358 B
Bash
Executable file
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
|