From 2bf23d7336d66895f021952d93770a4c82d1586c Mon Sep 17 00:00:00 2001 From: Markus Lehtonen Date: Wed, 2 Jun 2021 19:09:46 +0300 Subject: [PATCH] scripts/github/update-gh-pages: tolerate non-annotated tags Our v0.2.0 release tag is unannotated so we need to live with that. --- scripts/github/update-gh-pages.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/github/update-gh-pages.sh b/scripts/github/update-gh-pages.sh index 6158bf66..d0412099 100755 --- a/scripts/github/update-gh-pages.sh +++ b/scripts/github/update-gh-pages.sh @@ -103,7 +103,7 @@ site_subdir=${site_subdir:-master} # Check if this ref is for a released version if [ "$site_subdir" != "master" ]; then - _base_tag=`git describe --abbrev=0 || :` + _base_tag=`git describe --tags --abbrev=0 || :` case "$_base_tag" in $site_subdir*) ;;