From abda88da8912a15d3ca5549c5594f9e7a6e04e15 Mon Sep 17 00:00:00 2001 From: Michelle McDaniel Date: Mon, 1 Mar 2021 13:35:11 -0800 Subject: [PATCH] Change variable name --- .../TableGenerator/Program.fs | 14 +++++++------- .../TableGenerator/Reference.fs | 2 +- .../TableGenerator/Shared.fs | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/tools/sdk-readme-table-generator/TableGenerator/Program.fs b/tools/sdk-readme-table-generator/TableGenerator/Program.fs index 54bf50cdf..3aab1f84d 100644 --- a/tools/sdk-readme-table-generator/TableGenerator/Program.fs +++ b/tools/sdk-readme-table-generator/TableGenerator/Program.fs @@ -9,31 +9,31 @@ let inputBranches = [ { GitBranchName = "master" DisplayName = "Master
(6.0.x Runtime)" AkaMsChannel = Some("6.0/daily") - UseLegacyAkaMsChannel = false } + UseLegacyAkaMsTemplate = false } { GitBranchName = "release/6.0.1xx-preview2" DisplayName = "Release/6.0.1XX-preview2
(6.0.x Runtime)" AkaMsChannel = Some("6.0.1XX-preview2/daily") - UseLegacyAkaMsChannel = false } + UseLegacyAkaMsTemplate = false } { GitBranchName = "release/5.0.3xx" DisplayName = "Release/5.0.3XX
(5.0 Runtime)" AkaMsChannel = Some("5.0.3xx/daily") - UseLegacyAkaMsChannel = false } + UseLegacyAkaMsTemplate = false } { GitBranchName = "release/5.0.2xx" DisplayName = "Release/5.0.2XX
(5.0 Runtime)" AkaMsChannel = Some("5.0.2xx/daily") - UseLegacyAkaMsChannel = true } + UseLegacyAkaMsTemplate = true } { GitBranchName = "release/5.0.1xx-rtm" DisplayName = "5.0.100 RTM
(5.0 Runtime)" AkaMsChannel = Some("net5/5.0.1xx/daily") - UseLegacyAkaMsChannel = true } + UseLegacyAkaMsTemplate = true } { GitBranchName = "release/3.1.4xx" DisplayName = "Release/3.1.4XX
(3.1.x Runtime)" AkaMsChannel = None - UseLegacyAkaMsChannel = false } + UseLegacyAkaMsTemplate = false } { GitBranchName = "release/3.1.1xx" DisplayName = "Release/3.1.1XX
(3.1.x Runtime)" AkaMsChannel = None - UseLegacyAkaMsChannel = false }] + UseLegacyAkaMsTemplate = false }] let referentNotes = """Reference notes: diff --git a/tools/sdk-readme-table-generator/TableGenerator/Reference.fs b/tools/sdk-readme-table-generator/TableGenerator/Reference.fs index d2e779509..27fa635ce 100644 --- a/tools/sdk-readme-table-generator/TableGenerator/Reference.fs +++ b/tools/sdk-readme-table-generator/TableGenerator/Reference.fs @@ -163,7 +163,7 @@ let winMuslReferenceTemplate: ReferenceTemplate = { let formatTemplate (platform: String) (template: ReferenceTemplate) (branch: Branch): Option = if branch.AkaMsChannel <> None then - if branch.UseLegacyAkaMsChannel then + if branch.UseLegacyAkaMsTemplate then Some (String.Format(template.AkaMSLegacyTemplate, platform, // 0 - win-x64 (branchNameShorten branch), // 1 - 5.0.1xx-preview2 diff --git a/tools/sdk-readme-table-generator/TableGenerator/Shared.fs b/tools/sdk-readme-table-generator/TableGenerator/Shared.fs index e76b5e78d..97885c766 100644 --- a/tools/sdk-readme-table-generator/TableGenerator/Shared.fs +++ b/tools/sdk-readme-table-generator/TableGenerator/Shared.fs @@ -7,7 +7,7 @@ type Branch = { GitBranchName: string DisplayName: string AkaMsChannel: string option - UseLegacyAkaMsChannel: bool } + UseLegacyAkaMsTemplate: bool } type ReferenceTemplate = { AkaMSTemplate: string