From d90075f20076ba4b8ea42fee94c36f4fec25d5c8 Mon Sep 17 00:00:00 2001 From: "Julio C. Rocha" Date: Fri, 10 May 2024 04:55:08 -0700 Subject: [PATCH] Pass build year --- PropertySheets/Platform.props | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PropertySheets/Platform.props b/PropertySheets/Platform.props index f308865b3..ce381ba5b 100644 --- a/PropertySheets/Platform.props +++ b/PropertySheets/Platform.props @@ -37,7 +37,8 @@ %(PreprocessorDefinitions); GIT_REVISION=$(GitRevision); GIT_REVISION_SHORT=$(GitRevisionShort); - VERSION_BUILD=$(GitRevisionCount) + VERSION_BUILD=$(GitRevisionCount); + VERSION_BUILD_YEAR=$([System.DateTime]::Now.ToString(`yyyy`))