1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-10 09:42:26 +00:00

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
This commit is contained in:
Glen Barber 2018-05-08 17:15:12 +00:00
parent ac88e6da11
commit 43613f74dd
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333374

View File

@ -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