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 <jan@janware.com>
This commit is contained in:
parent
5eb4fc90eb
commit
ec92d89295
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue