mirror of
https://github.com/getbible/v2_builder.git
synced 2024-11-21 18:25:10 +00:00
Adds option to preserve the .github folder
This commit is contained in:
parent
747243ccca
commit
fa35239832
1
run.sh
1
run.sh
@ -153,6 +153,7 @@ function prepScriptureMainGit() {
|
|||||||
fi
|
fi
|
||||||
mkdir -p "${scripture_path}Tmp"
|
mkdir -p "${scripture_path}Tmp"
|
||||||
mv -f "${scripture_path}/.git" "${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"
|
[ -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)
|
# now we remove all the old git files (so we start clean each time in the build)
|
||||||
|
Loading…
Reference in New Issue
Block a user