4
2
mirror of https://github.com/getbible/v2_builder.git synced 2024-05-29 20:00:50 +00:00

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
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)