diff --git a/distributeApp.sh b/distributeApp.sh index 800df8d..aec49c0 100644 --- a/distributeApp.sh +++ b/distributeApp.sh @@ -1,5 +1,9 @@ #!/bin/sh set -e +set -o pipefail + +# Fix the unsafe repo error which was introduced by the CVE-2022-24765 git patches +git config --global --add safe.directory /github/workspace if [[ -z ${INPUT_RELEASE_NOTES} ]]; then INPUT_RELEASE_NOTES="$(git log -1 --abbrev-commit --pretty=oneline)"