public static void Build() { string filePath = BuildConst.ResVersionFilePath.WithRootPath(FilePathConst.ProjectPath); StdioUtil.CreateFileIfNotExist(filePath); string resVersion = StdioUtil.ReadTextFile(filePath); resVersion = resVersion.IsNullOrWhiteSpace() ? BuildConst.ResVersionDefault : IncreaseResSubVersion(resVersion); StdioUtil.WriteTextFile(filePath, resVersion); StdioUtil.WriteTextFile(BuildConst.Output_Path + BuildConst.ResVersionFileName, resVersion); AssetDatabase.Refresh(); }