core_promote: update to new standard GCE image description format

Description will now look like:

    CoreOS, CoreOS alpha, 695.0.0, amd64-usr published on 2015-05-28
This commit is contained in:
Michael Marineau 2015-06-10 15:26:15 -07:00
parent a231ef0bab
commit 74efb97eeb

View File

@ -93,7 +93,8 @@ fi
if [[ ${FLAGS_do_gce} -eq ${FLAGS_TRUE} ]]; then if [[ ${FLAGS_do_gce} -eq ${FLAGS_TRUE} ]]; then
gce_name="coreos-${lower_channel}-${FLAGS_version//./-}-v$(date -u +%Y%m%d)" gce_name="coreos-${lower_channel}-${FLAGS_version//./-}-v$(date -u +%Y%m%d)"
gce_desc="CoreOS ${lower_channel} ${FLAGS_version}" # description must be of the format "Vendor, OS, Version, Description"
gce_desc="CoreOS, CoreOS ${lower_channel}, ${FLAGS_version}, ${FLAGS_board} published on $(date -u +%Y-%m-%d)"
gcutil \ gcutil \
--project coreos-cloud \ --project coreos-cloud \
addimage \ addimage \