Append the hour and minute to the snapshot suffix for EC2
AMIs and Azure VM images. This is particularly helpful for testing to avoid name collisions, but also useful for cases where a necessary rebuild is done before the date changes. MFC after: 3 days Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
394613bfd5
commit
e5f5cbd42c
@ -17,7 +17,7 @@ AZURE${VAR}!= grep -E ^AZURE${VAR} ${AZURE_UPLOAD_CONF} | awk -F' ' '{print $$2}
|
||||
.endif
|
||||
|
||||
.if ${BRANCH} == "STABLE" || ${BRANCH} == "CURRENT"
|
||||
SNAPSHOT_DATE!= date +-%Y-%m-%d
|
||||
SNAPSHOT_DATE!= date +-%Y-%m-%d-%H:%M
|
||||
.endif
|
||||
|
||||
AZURE_TARGET:= ${OSRELEASE}${SNAPSHOT_DATE}.vhd
|
||||
|
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
.if ${BRANCH} == "CURRENT" || ${BRANCH} == "STABLE"
|
||||
AMINAMESUFFIX!= date +-%Y-%m-%d
|
||||
AMINAMESUFFIX!= date +-%Y-%m-%d-%H:%M
|
||||
.endif
|
||||
.if defined(EC2PUBLIC)
|
||||
PUBLISH= --public
|
||||
|
Loading…
Reference in New Issue
Block a user