diff options
author | gjb <gjb@FreeBSD.org> | 2015-06-21 12:37:31 +0000 |
---|---|---|
committer | gjb <gjb@FreeBSD.org> | 2015-06-21 12:37:31 +0000 |
commit | acb990606ad0201fd842842ace937908feb02c70 (patch) | |
tree | 700021ec2f47bfcedcfabc0950acac4fe5188cb0 /release | |
parent | 7b2599c8ef8fcbb1821c654d9e236732726527aa (diff) | |
download | FreeBSD-src-acb990606ad0201fd842842ace937908feb02c70.zip FreeBSD-src-acb990606ad0201fd842842ace937908feb02c70.tar.gz |
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
Diffstat (limited to 'release')
-rw-r--r-- | release/Makefile.azure | 2 | ||||
-rw-r--r-- | release/Makefile.ec2 | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/release/Makefile.azure b/release/Makefile.azure index 01e2204..92ddaf2 100644 --- a/release/Makefile.azure +++ b/release/Makefile.azure @@ -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 diff --git a/release/Makefile.ec2 b/release/Makefile.ec2 index 4efdc7f..f4e5025 100644 --- a/release/Makefile.ec2 +++ b/release/Makefile.ec2 @@ -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 |