We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c83588 commit 246bc25Copy full SHA for 246bc25
docs/scripts/deploy-docs.sh
@@ -49,7 +49,7 @@ if [[ -n "${BRANCH:-}" ]]; then
49
MIKE_OPTIONS+=(--branch "$BRANCH")
50
fi
51
52
-LATEST=$(git describe --tags --match="v[0-9]*" `git rev-list --tags --max-count=1` | grep -o '^v[0-9]\+\.[0-9]\+')
+LATEST=$(git describe --tags --match="v[0-9]*" `git rev-list --tags --max-count=1` || echo "v0.0.0" | grep -o '^v[0-9]\+\.[0-9]\+')
53
if [[ "${LATEST:-}" == "${VERSION:-}" ]]; then
54
MIKE_DEPLOY_OPTIONS+=(--update-aliases)
55
MIKE_ALIASES+=(latest)
0 commit comments