From ec92d8929562977751e604412641caa3621e8534 Mon Sep 17 00:00:00 2001 From: Jan Lindemann Date: Wed, 13 May 2026 12:45:51 +0200 Subject: [PATCH] pkg.sh: release: Push without JW_PKG_SSH_EXTRA_OPTS Currently, completing a release works with a plain git push. It may push to several repos, depending on how the client repo's origin's pushurl is configured. Those repos may have different user names, and if the ssh wrapper added -l via JW_PKG_SSH_EXTRA_OPTS, the push would fail. Hence, disable JW_PKG_SSH_EXTRA_OPTS for that case. Signed-off-by: Jan Lindemann --- scripts/pkg.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/pkg.sh b/scripts/pkg.sh index 7fb87a59..adeeb062 100644 --- a/scripts/pkg.sh +++ b/scripts/pkg.sh @@ -658,7 +658,8 @@ upload_pkg() $SSH -l root $server /opt/packager-server/bin/packager-server schedule-rebuild scm_commit -m "Release $v@`platform`" $TOPDIR/RELEASES $TOPDIR/HASH if [ "$SCM" = git ]; then - git push || true + # Don't use extra options, they might contain -l + JW_PKG_SSH_EXTRA_OPTS="" git push || true fi }