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 47
47
48
48
cd $GITHUB_WORKSPACE/branch/documentation
49
49
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
50
53
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
52
54
hugo -s site -d "$GITHUB_WORKSPACE/WORK" -b https://oracle.github.io/weblogic-kubernetes-operator
53
55
echo "Copying static files into place..."
54
56
cp -R domains "$GITHUB_WORKSPACE/WORK"
You can’t perform that action at this time.
0 commit comments