projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8fd579
)
Allow the pull-docs script to pull other than master
author
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Sat, 23 Sep 2017 08:11:20 +0000
(10:11 +0200)
committer
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Sat, 23 Sep 2017 08:13:40 +0000
(10:13 +0200)
pull-docs.sh
patch
|
blob
|
history
diff --git
a/pull-docs.sh
b/pull-docs.sh
index afe8fce855ceb75b07ee82be3fe9bcdffdbc2b3d..b8850530a173761edf94528345319205ddfc3f05 100755
(executable)
--- a/
pull-docs.sh
+++ b/
pull-docs.sh
@@
-1,5
+1,7
@@
#!/bin/bash
+HUGO_DOCS_BRANCH="${HUGO_DOCS_BRANCH-master}"
+
# We may extend this to also push changes in the other direction, but this is the most important step.
-git subtree pull --prefix=docs/ https://github.com/gohugoio/hugoDocs.git
master
--squash
+git subtree pull --prefix=docs/ https://github.com/gohugoio/hugoDocs.git
${HUGO_DOCS_BRANCH}
--squash