Skip to content

Commit bb38bce

Browse files
stephenmcgruerdomenic
authored andcommitted
Change depth of html/ checkout to 2
Previously we would check-out the html/ sub-repo at depth 1, but later try and look at HEAD^ - which wouldn't exist. Change to depth=2 to fix that.
1 parent 4f94f1b commit bb38bce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ HTML_SOURCE=${HTML_SOURCE:-}
2727
HTML_CACHE=${HTML_CACHE:-$DIR/.cache}
2828
HTML_TEMP=${HTML_TEMP:-$DIR/.temp}
2929
HTML_OUTPUT=${HTML_OUTPUT:-$DIR/output}
30-
HTML_GIT_CLONE_OPTIONS=${HTML_GIT_CLONE_OPTIONS:-"--depth=1"}
30+
HTML_GIT_CLONE_OPTIONS=${HTML_GIT_CLONE_OPTIONS:-"--depth=2"}
3131

3232
# These are used by child scripts, and so we export them
3333
export HTML_CACHE

0 commit comments

Comments
 (0)