From c38c61f27e528f3fc2ac5d808e8a91e67962e34c Mon Sep 17 00:00:00 2001 From: Kyle Barron Date: Mon, 2 Feb 2026 09:11:36 -0500 Subject: [PATCH] ci: Fix docs publishing by tag --- .github/workflows/deploy-mkdocs.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-mkdocs.yml b/.github/workflows/deploy-mkdocs.yml index 3c761d3..e2a8477 100644 --- a/.github/workflows/deploy-mkdocs.yml +++ b/.github/workflows/deploy-mkdocs.yml @@ -40,8 +40,8 @@ jobs: # https://stackoverflow.com/a/3867811 # We don't use {{github.ref_name}} because if triggered manually, it # will be a branch name instead of a tag version. - # Then remove `py-` from the tag - VERSION=$(git describe --tags --match="py-*" --abbrev=0 | cut -c 4-) + VERSION=$(git describe --tags --match="v*" --abbrev=0) + echo $VERSION # Only push publish docs as latest version if no letters in git tag # after the first character