diff --git a/entrypoint.sh b/entrypoint.sh index 0ca662c..5cf2551 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,6 +1,6 @@ #!/bin/sh -l -# e is for exiting the script automatically if a command fails, u is for exiting if a variable is not set -set -eu +# e is for exiting the script automatically if a command fails, u is for exiting if a variable is not set, x is for showing the commands before they are executed +set -eux # Function for setting up git env in the docker container (copied from https://github.com/stefanzweifel/git-auto-commit-action/blob/master/entrypoint.sh) git_setup ( ) {