diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2019-11-25 15:50:59 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2019-11-25 15:50:59 +0100 |
commit | ea42ca046a624ad6cdfcf8593b8145c59c3f1820 (patch) | |
tree | 0518492dc41cd1935377602f3e82f3553513cd1a | |
parent | 1dc7247e36d47a44f3a869be1fea1725a3951cd2 (diff) | |
download | s2i-virtio-spec-ea42ca046a624ad6cdfcf8593b8145c59c3f1820.tar.gz |
add branch to filename
-rwxr-xr-x | s2i/bin/assemble | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/s2i/bin/assemble b/s2i/bin/assemble index 9ffcd8a..ff75bf2 100755 --- a/s2i/bin/assemble +++ b/s2i/bin/assemble @@ -22,7 +22,12 @@ echo "---> Installing application source ..." mv /tmp/src ./virtio-spec echo "---> Building virtio spec ..." -(cd virtio-spec; sh makeall.sh) +(cd virtio-spec; + export SPECDOC=$(cat REVISION); + if test "$OPENSHIFT_BUILD_REFERENCE" != ""; then + SPECDOC="$SPECDOC-$OPENSHIFT_BUILD_REFERENCE" + fi + sh makeall.sh) echo "---> Move docs output ..." mkdir output |