/// <summary> /// Function for UMB. /// </summary> public static void BuildTangoDat() { // Write out a version file. string filePath = Application.dataPath + "/TangoSDK/Core/Tango.dat"; using (BinaryWriter binaryWriter = new BinaryWriter(File.Open(filePath, FileMode.Create))) { binaryWriter.Write(GitHelpers.GetTagInfo()); binaryWriter.Write(GitHelpers.GetPrettyGitHash()); binaryWriter.Write(GitHelpers.GetRemoteBranchName()); } }
public static void BuildSdkPackage() { // Write out a version file. string filePath = Application.dataPath + TangoSDKAbout.TANGO_VERSION_DATA_PATH; using (BinaryWriter binaryWriter = new BinaryWriter(File.Open(filePath, FileMode.Create))) { binaryWriter.Write(GitHelpers.GetTagInfo()); binaryWriter.Write(GitHelpers.GetPrettyGitHash()); binaryWriter.Write(GitHelpers.GetRemoteBranchName()); } BuildUtil.BuildPackage(sdkPackageUnity5); BuildUtil.BuildPackage(sdkPackageUnity4); }