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:
commit
4094da373d
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ site_subdir=${site_subdir:-master}
|
||||||
|
|
||||||
# Check if this ref is for a released version
|
# Check if this ref is for a released version
|
||||||
if [ "$site_subdir" != "master" ]; then
|
if [ "$site_subdir" != "master" ]; then
|
||||||
_base_tag=`git describe --abbrev=0 || :`
|
_base_tag=`git describe --abbrev=0 --match "v*" || :`
|
||||||
case "$_base_tag" in
|
case "$_base_tag" in
|
||||||
$site_subdir*)
|
$site_subdir*)
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue