Add forgotten flag to deploy script

I should maybe write tests for even that?
master
LEdoian 3 years ago
parent 3fc9805219
commit ebc772b7ed

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

Loading…
Cancel
Save