Adds option to preserve the .github folder

This commit is contained in:
Llewellyn van der Merwe 2023-06-01 01:46:19 +02:00
parent 747243ccca
commit fa35239832
Signed by: Llewellyn
GPG Key ID: A9201372263741E7
1 changed files with 1 additions and 0 deletions

1
run.sh
View File

@ -153,6 +153,7 @@ function prepScriptureMainGit() {
fi
mkdir -p "${scripture_path}Tmp"
mv -f "${scripture_path}/.git" "${scripture_path}Tmp"
[ -d "${scripture_path}/.github" ] && mv -f "${scripture_path}/.github" "${scripture_path}Tmp"
[ -d "${scripture_path}/.gitignore" ] && mv -f "${scripture_path}/.gitignore" "${scripture_path}Tmp"
# now we remove all the old git files (so we start clean each time in the build)