mirror of
https://github.com/kubernetes-sigs/node-feature-discovery.git
synced 2024-12-15 17:50:49 +00:00
Merge pull request #747 from k8s-infra-cherrypick-robot/cherry-pick-724-to-release-0.9
[release-0.9] scripts/update-gh-pages: fix symlink to stable version
This commit is contained in:
commit
0cbfa47893
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ fi
|
|||
# Switch to work in the gh-pages worktree
|
||||
pushd "$build_dir" > /dev/null
|
||||
|
||||
_stable=`(ls -d1 v*/ || :) | sort -n | tail -n1`
|
||||
_stable=`(ls -d1 v*/ || :) | sort -V | tail -n1`
|
||||
[ -n "$_stable" ] && ln -sfT "$_stable" stable
|
||||
|
||||
# Detect existing versions from the gh-pages branch
|
||||
|
|
Loading…
Reference in a new issue