Skip to content

Commit

Permalink
scripts/update-gh-pages: fix release version parsing
Browse files Browse the repository at this point in the history
When determining the release branch only consider "main" release tags,
refusing to pick api/nfd/v* tags.

(cherry picked from commit a416af5)
  • Loading branch information
marquiz committed Dec 13, 2024
1 parent 2dc9589 commit f99c1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/github/update-gh-pages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,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 --abbrev=0 --match "v*" || :`
case "$_base_tag" in
$site_subdir*)
;;
Expand Down

0 comments on commit f99c1dd

Please sign in to comment.