|
|
|
@ -82,7 +82,7 @@ class Document:
|
|
|
|
|
|
|
|
|
|
if multiversion_build: |
|
|
|
|
# also fetch all branches and tags, so that sphinx-multiversion knows what versions exist and can pull them |
|
|
|
|
cmd.append(['git', 'fetch', '--all']) |
|
|
|
|
cmd.append(['git', 'fetch', '--all', '--tags', '--force']) |
|
|
|
|
cmd.append(['bash', '-c', 'for BRANCH in $(git branch -a | grep remotes | grep -v HEAD | grep -v master); do git branch --track "${BRANCH#remotes/origin/}" "${BRANCH}" || git branch -f "${BRANCH#remotes/origin/}" -t "${BRANCH}"; done']) |
|
|
|
|
|
|
|
|
|
# build the HTML version |
|
|
|
|