aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2019-11-25 13:10:26 +0100
committerGerd Hoffmann <kraxel@redhat.com>2019-11-25 13:10:26 +0100
commitb434500fba21a5d55c97f58e6b9ea3a6674b6194 (patch)
treed4ebdf9e90427f747988266fcc0fe618fe8ebe3f
parent426329b58ffc54b1099887e3494e97182abeaecc (diff)
downloads2i-virtio-spec-b434500fba21a5d55c97f58e6b9ea3a6674b6194.tar.gz
pimp header a bit
-rwxr-xr-xs2i/bin/assemble13
1 files changed, 6 insertions, 7 deletions
diff --git a/s2i/bin/assemble b/s2i/bin/assemble
index 5a7fb2d..7ae92a0 100755
--- a/s2i/bin/assemble
+++ b/s2i/bin/assemble
@@ -48,14 +48,13 @@ echo "---> add README ..."
cat <<EOF >> output/HEADER.html
<h1>virtio specification</h1>
<p>
-Built from <a href="$OPENSHIFT_BUILD_SOURCE">$OPENSHIFT_BUILD_SOURCE</a>
+Built from <a href="$OPENSHIFT_BUILD_SOURCE">$OPENSHIFT_BUILD_SOURCE</a>,
+git commit hash is ${OPENSHIFT_BUILD_COMMIT}.
</p>
-EOF
-
-cat <<EOF >> output/README.html
-<pre>
-$(set)
-</pre>
+<ul>
+<li><a href="$(cd output; ls *.html)">online version (html)</a>.
+<li><a href="$(cd output; ls *.pdf)">print version (pdf)</a>.
+</ul>
EOF
echo "---> Fix permissions ..."