Skip to content

Commit 2ef88a0

Browse files
committed
Remove version number from generated docs
1 parent 43f30e7 commit 2ef88a0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

update-gh-pages-for-tag

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,14 @@ git clone $GIT
3535
cd $NAME
3636

3737
git checkout "$TAG"
38+
39+
sed -i.bak -e 's/^(version [^)]*)//' dune-project
40+
rm dune-project.bak
41+
3842
dune build @doc --root=.
3943

44+
git checkout .
45+
4046
git checkout $GH_PAGES
4147
if [ "$TAG" != main ]; then
4248
echo "Updating the $TAG doc."

0 commit comments

Comments
 (0)