File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 4747
4848 cd $GITHUB_WORKSPACE/branch/documentation
4949 echo "Documentation branch is $GITHUB_REF_NAME..."
50+ latest_tag=$(git tag -l --sort=v:refname | grep v4.0 | tail -1 | cut -c2-)
51+ echo "Latest tag is $latest_tag..."
52+ echo $latest_tag >| $GITHUB_WORKSPACE/branch/documentation/site/layouts/shortcodes/latestVersion.html
5053 echo "Building documentation for latest minor version..."
51- git tag -l --sort=v:refname | grep v4.0 | tail -1 | cut -c2- > $GITHUB_WORKSPACE/branch/documentation/site/layouts/shortcodes/latestVersion.html
5254 hugo -s site -d "$GITHUB_WORKSPACE/WORK" -b https://oracle.github.io/weblogic-kubernetes-operator
5355 echo "Copying static files into place..."
5456 cp -R domains "$GITHUB_WORKSPACE/WORK"
You can’t perform that action at this time.
0 commit comments