Skip to content

Commit

Permalink
add githash to jenkins properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Markus committed Aug 29, 2024
1 parent 4742a5f commit 6db1372
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Editor/HeadlessBuild.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 6db1372

Please sign in to comment.