3D Slicer Release Build Error (Variable Slicer_WC_LAST_CHANGED_DATE is expected to be defined in SlicerPackageAndUploadTarget)

Hi,
I receive this error when I try to build extensions using Cmake.

– Found Git: C:/Program Files/Git/cmd/git.exe
– Looking for decorator header qSlicerOHModuleModuleWidgetsPythonQtDecorators.h
– Looking for decorator header qSlicerOHModuleModuleWidgetsPythonQtDecorators.h - Not found
– Configuring Loadable module: OHModule [qSlicerOHModuleModuleExport.h]
CMake Warning (dev) at C:/D/S4/CMake/SlicerMacroExtractRepositoryInfo.cmake:75 (message):
Skipping repository info extraction: directory [C:/dev/OHExtension/OH] is
not a GIT or SVN checkout
Call Stack (most recent call first):
C:/D/S4/CMake/SlicerExtensionCPack.cmake:60 (SlicerMacroExtractRepositoryInfo)
CMakeLists.txt:27 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

CMake Error at C:/D/S4/Extensions/CMake/SlicerFunctionGenerateExtensionDescription.cmake:70 (message):
CMake variable EXTENSION_WC_REVISION is empty !
Call Stack (most recent call first):
C:/D/S4/CMake/SlicerExtensionCPack.cmake:79 (slicerFunctionGenerateExtensionDescription)
CMakeLists.txt:27 (include)

– Configuring incomplete, errors occurred!
See also “C:/dev/OHExtension/OHBuild/CMakeFiles/CMakeOutput.log”.
See also “C:/dev/OHExtension/OHBuild/CMakeFiles/CMakeError.log”.