From 63ce68b1539e20636027c99c5f177ed280f27542 Mon Sep 17 00:00:00 2001 From: Nik <2661899+CodeSchwert@users.noreply.github.com> Date: Mon, 5 Aug 2024 16:51:15 +1200 Subject: [PATCH] fix: SDK reference docs workflow (#2062) --- .github/workflows/publish-docs.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish-docs.yaml b/.github/workflows/publish-docs.yaml index d647b8616f..a36f1201d3 100644 --- a/.github/workflows/publish-docs.yaml +++ b/.github/workflows/publish-docs.yaml @@ -21,7 +21,8 @@ jobs: - name: Check alpha version id: alpha_check run: | - if $(git describe --tags --abbrev=0) | grep -q "alpha"; then + VERSION=$(git describe --tags --abbrev=0) + if echo "$VERSION" | grep -q "alpha"; then echo "Skipping docs generation for alpha version" echo "is_alpha=true" >> $GITHUB_ENV exit 0