mirror of
https://git.FreeBSD.org/src.git
synced 2024-11-29 08:08:37 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=284676
@ -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