Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions dev-support/bin/create-release
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,10 @@ function makearelease

big_console_header "Cleaning the Source Tree"

# Since CVE-2022-24765 in April 2022, git refuses to work in directories
# whose owner != the current user, unless explicitly told to trust it.
git config --global --add safe.directory /build/source

# git clean to clear any remnants from previous build
run "${GIT}" clean -xdf -e /patchprocess

Expand Down