Merge pull request #226 from marineam/vhd

fix(release_util): Compress vhd images.
This commit is contained in:
Michael Marineau 2014-04-14 22:57:28 -07:00
commit bfbb3ea06c

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}" )