aboutsummaryrefslogtreecommitdiff
path: root/release/Makefile.gce
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2018-05-08 17:15:12 +0000
committerGlen Barber <gjb@FreeBSD.org>2018-05-08 17:15:12 +0000
commit43613f74dd3d88b346ff11e7a5e7590276c46a54 (patch)
tree0db20a9573d674ebcdbb30adf6d0759d14b76156 /release/Makefile.gce
parentac88e6da113f659dc7cc535d0f0a76cb9ad906d4 (diff)
downloadsrc-43613f74dd3d88b346ff11e7a5e7590276c46a54.tar.gz
src-43613f74dd3d88b346ff11e7a5e7590276c46a54.zip
Use vYYYYMMDD in the timestamp suffix for Google Compute Engine
snapshot images for consistency with other OSes. MFC after: 3 weeks Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=333374
Diffstat (limited to 'release/Makefile.gce')
-rw-r--r--release/Makefile.gce3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/Makefile.gce b/release/Makefile.gce
index 34c1e9192125..bbdc4981a613 100644
--- a/release/Makefile.gce
+++ b/release/Makefile.gce
@@ -23,7 +23,8 @@ GCE_FAMILY= ${TYPE:tl}-${REVISION:S,.,-,}
.endif
.if ${BRANCH} == "STABLE" || ${BRANCH} == "CURRENT" || ${BRANCH} == "PRERELEASE"
-SNAPSHOT_DATE!= date +-%Y-%m-%d
+_SNAPSHOT_DATE!= date +%Y%m%d
+SNAPSHOT_DATE= -v${_SNAPSHOT_DATE}
GCE_FAMILY_SUFX= -snap
.endif