We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e1b9fb commit 585c78cCopy full SHA for 585c78c
.github/workflows/publish-gh-pages.yml
@@ -52,7 +52,7 @@ jobs:
52
53
cd $GITHUB_WORKSPACE/branch-4.0/documentation
54
echo "Building documentation for latest minor version..."
55
- latest_tag=$(git tag -l --sort=v:refname | grep v4.0 | tail -1 | cut -c2-)
+ latest_tag=$(git ls-remote https://github.com/oracle/weblogic-kubernetes-operator.git --h --sort origin "refs/tags/v*" | cut -f2 | grep v4.0 | tail -1 | cut -c12-)
56
echo "Latest tag is $latest_tag..."
57
echo $latest_tag >| $GITHUB_WORKSPACE/branch-4.0/documentation/site/layouts/shortcodes/latestVersion.html
58
hugo -s site -d "$GITHUB_WORKSPACE/WORK" -b https://oracle.github.io/weblogic-kubernetes-operator
0 commit comments