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 f1e2be3 commit 4e1b9fbCopy full SHA for 4e1b9fb
.github/workflows/publish-gh-pages.yml
@@ -52,6 +52,9 @@ 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-)
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
59
echo "Copying static files into place..."
60
cp -R domains "$GITHUB_WORKSPACE/WORK"
0 commit comments