svn commit: r284676 - head/release

Glen Barber gjb at FreeBSD.org
Sun Jun 21 12:37:32 UTC 2015


Author: gjb
Date: Sun Jun 21 12:37:31 2015
New Revision: 284676
URL: https://svnweb.freebsd.org/changeset/base/284676

Log:
  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

Modified:
  head/release/Makefile.azure
  head/release/Makefile.ec2

Modified: head/release/Makefile.azure
==============================================================================
--- head/release/Makefile.azure	Sun Jun 21 08:00:05 2015	(r284675)
+++ head/release/Makefile.azure	Sun Jun 21 12:37:31 2015	(r284676)
@@ -17,7 +17,7 @@ AZURE${VAR}!=	grep -E ^AZURE${VAR} ${AZU
 .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

Modified: head/release/Makefile.ec2
==============================================================================
--- head/release/Makefile.ec2	Sun Jun 21 08:00:05 2015	(r284675)
+++ head/release/Makefile.ec2	Sun Jun 21 12:37:31 2015	(r284676)
@@ -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


More information about the svn-src-head mailing list