1
0
Fork 0
mirror of https://github.com/kubernetes-sigs/node-feature-discovery.git synced 2024-12-14 11:57:51 +00:00

Merge pull request #1974 from marquiz/devel/gh-pages-branch-fix

scripts/update-gh-pages: fix release version parsing
This commit is contained in:
Kubernetes Prow Robot 2024-12-12 19:50:26 +01:00 committed by GitHub
commit 4094da373d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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*)
;;