diff --git a/Editor/HeadlessBuild.cs b/Editor/HeadlessBuild.cs index 6d47269..364e2d0 100644 --- a/Editor/HeadlessBuild.cs +++ b/Editor/HeadlessBuild.cs @@ -111,7 +111,8 @@ static void BuildGeneral(DistributionPlatform distributionPlatform) { //Restore Defines to State before Build PlayerSettings.SetScriptingDefineSymbolsForGroup(targetGroupModule.activeTargetGroup.group, DefineArrayToString(definesBackup)); - WriteToProperties("Version", BuildManagerRuntimeSettings.Instance.VersionCode); + WriteToProperties("Version", RSettings.Instance.VersionCode); + WriteToProperties("Githash", RSettings.Instance.GitHash); WriteToProperties("Error", "None"); RSettings.Instance.Adapter.AfterHeadlessBuild();