summaryrefslogtreecommitdiff
path: root/repo-deb
diff options
context:
space:
mode:
authorcrystal <crystal@noreply.codeberg.org>2024-04-27 18:55:53 -0600
committercrystal <crystal@noreply.codeberg.org>2024-04-27 18:55:53 -0600
commit08f545c3661f36af1f4d493408ee6b00ac4bb223 (patch)
tree14087cbc55c44b457a342100698a49a107366b00 /repo-deb
parent371709d63180b00e4ff59fe01cb9c336ec4b3f3a (diff)
[squash] Switch to Forgejo Actions
Diffstat (limited to 'repo-deb')
-rwxr-xr-xrepo-deb/build.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/repo-deb/build.sh b/repo-deb/build.sh
index d9eed8c..bdb1ef2 100755
--- a/repo-deb/build.sh
+++ b/repo-deb/build.sh
@@ -4,10 +4,13 @@ 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
+dpkg-buildpackage -b $PACKAGE_BUILD_EXTRA_ARGS
cd ..
cd main
-dpkg-buildpackage -b
+dpkg-buildpackage -b $PACKAGE_BUILD_EXTRA_ARGS
cd ..
exit 0