Skip to content

Commit cf84260

Browse files
committed
t1
1 parent 51775ff commit cf84260

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/docker/versioning-build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ function build_docs {
2020
} >> "build/docs/$1/index.html"
2121
}
2222

23+
current_branch="$(git rev-parse --abbrev-ref HEAD)"
24+
2325
git checkout -- .
2426
git clean -fdx .
2527

@@ -41,7 +43,10 @@ git checkout dev
4143
git pull
4244
build_docs "dev"
4345

46+
git checkout "${current_branch}"
47+
4448
for tag in $(git tag | grep -E '^v?\d+\.\d+\.\d+' | python ./docs/docker/versioning-build-grab-latest-minor.py); do
49+
echo " > ${tag}"
4550
git checkout "$tag"
4651
if [[ -d docs ]] && [[ -f docs/requirements.txt ]]; then
4752
echo Building docs for version "$tag"

0 commit comments

Comments
 (0)