We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ca5aa1f + 80f0551 commit 217f128Copy full SHA for 217f128
1 file changed
_scripts/gutenbuild
@@ -5,18 +5,19 @@ set -x
5
6
build_dest=$1
7
8
+# ensure we are on the master branch before building
9
+git checkout master
10
+
11
PATH=$HOME/.local/bin:$PATH BUILDDIR=${build_dest} make deps build
12
13
# build again, this time to /en/dev
14
dev_build_dest=$1/en/dev
15
16
17
# also build each version of the docs out to /en/<tag>
-for tag in $(git tag); do
18
+# NOTE(bacongobbler): do not build any pre-release tags
19
+for tag in $(git tag | grep -v "-alpha\|-beta\|-rc"); do
20
tag_build_dest="$build_dest/en/$tag"
21
git checkout $tag
22
PATH=$HOME/.local/bin:$PATH BUILDDIR=${tag_build_dest} make deps build
23
done
-
-# restore back to master
-git checkout master
0 commit comments