Skip to content

Commit

Permalink
Fix build metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
mircearoata committed May 2, 2021
1 parent d98cd06 commit 3fe1751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Plugins/SML/Source/SML/SML.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public SML(ReadOnlyTargetRules Target) : base(Target)
}
Log.TraceInformation("Environment: Branch = {0} BuildId = {1}", currentBranch, buildId);
if (currentBranch != null && buildId != null) {
var buildMetadataString = currentBranch == "master" ? buildId : string.Format("{0}+{1}", currentBranch, buildId);
var buildMetadataString = currentBranch == "master" ? buildId : string.Format("{0}.{1}", currentBranch, buildId);
PrivateDefinitions.Add(string.Format("SML_BUILD_METADATA=\"{0}\"", buildMetadataString));
}
}
Expand Down

0 comments on commit 3fe1751

Please sign in to comment.