Add forgotten parameter in recursive call

master
LEdoian 3 years ago
parent ebc772b7ed
commit 606c8137a9

@ -27,7 +27,7 @@ currentbranch="$(git branch --format '%(refname:short)')"
# If we are not on target branch, switch and run again
if test "$currentbranch" '!=' "$branch"; then
exec /bin/sh -eu -c "git checkout $branch && exec $0"
exec /bin/sh -eu -c "git checkout $branch && exec $0 $branch"
fi
echo "Deploying branch $branch"

Loading…
Cancel
Save