Skip to content

Commit a76a9cb

Browse files
author
Drew Yang
committed
fix: 🐛 grep MAJOR.MINOR version for mike
1 parent f50c82c commit a76a9cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/docker-compose.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ services:
2525
elif echo "$${MODE}" | grep -iE "qa|build" &>/dev/null; then
2626
git branch -D gh-pages || true
2727
git fetch $${UPSTREAM_REPO} gh-pages:gh-pages || true
28-
mike deploy --ignore-remote-status --config-file /main/docs/mkdocs.yaml -u $$(grep -oE '\d+\.\d+' /main/$${PACKAGE}/version.py) latest
28+
mike deploy --ignore-remote-status --config-file /main/docs/mkdocs.yaml -u $$(grep -oP '\d+\.\d+' /main/$${PACKAGE}/version.py) latest
2929
# mike set-default --config-file /main/docs/mkdocs.yaml latest
3030
if echo "$${MODE}" | grep -i qa &>/dev/null; then
3131
mike serve --config-file /main/docs/mkdocs.yaml -a 0.0.0.0:8000

0 commit comments

Comments
 (0)