Skip to content

Commit 4094da3

Browse files
authored
Merge pull request #1974 from marquiz/devel/gh-pages-branch-fix
scripts/update-gh-pages: fix release version parsing
2 parents 5a859ed + a416af5 commit 4094da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/github/update-gh-pages.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ site_subdir=${site_subdir:-master}
105105

106106
# Check if this ref is for a released version
107107
if [ "$site_subdir" != "master" ]; then
108-
_base_tag=`git describe --abbrev=0 || :`
108+
_base_tag=`git describe --abbrev=0 --match "v*" || :`
109109
case "$_base_tag" in
110110
$site_subdir*)
111111
;;

0 commit comments

Comments
 (0)