fix(release_util): Compress vhd images.

This commit is contained in:
Michael Marineau 2014-04-11 15:55:26 -07:00
parent c50e68f9d3
commit eb72b6e570

View File

@ -125,7 +125,7 @@ upload_image() {
fi
# Compress disk images
if [[ "${filename}" =~ \.(img|bin|vdi|vmdk)$ ]]; then
if [[ "${filename}" =~ \.(img|bin|vdi|vhd|vmdk)$ ]]; then
info "Compressing ${filename##*/}"
$IMAGE_ZIPPER -f "${filename}"
uploads+=( "${filename}${IMAGE_ZIPEXT}" )