From ebb586f8bb4993a4f2b0e144b1347474cb0c52fb Mon Sep 17 00:00:00 2001 From: Andrew Arnott Date: Fri, 28 Jun 2024 13:54:20 -0600 Subject: [PATCH] Fix template expansion --- Apply-Template.ps1 | 2 +- Expand-Template.ps1 | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Apply-Template.ps1 b/Apply-Template.ps1 index 42ed3362..921ceee5 100644 --- a/Apply-Template.ps1 +++ b/Apply-Template.ps1 @@ -37,6 +37,6 @@ robocopy /mir $PSScriptRoot/.github $Path/.github robocopy /mir $PSScriptRoot/.vscode $Path/.vscode robocopy /mir $PSScriptRoot/tools $Path/tools robocopy $PSScriptRoot $Path Directory.Build.* Directory.Packages.props global.json init.* azure-pipelines.yml .gitignore .gitattributes .editorconfig -robocopy $PSScriptRoot/src $Path/src Directory.Build.* .editorconfig AssemblyInfo.cs +robocopy $PSScriptRoot/src $Path/src Directory.Build.* .editorconfig AssemblyInfo.cs AssemblyInfo.vb robocopy $PSScriptRoot/test $Path/test Directory.Build.* .editorconfig Remove-Item $Path/azure-pipelines/expand-template.yml diff --git a/Expand-Template.ps1 b/Expand-Template.ps1 index d203d85f..e9a567c1 100755 --- a/Expand-Template.ps1 +++ b/Expand-Template.ps1 @@ -148,6 +148,9 @@ try { Replace-Placeholders -Path "src/AssemblyInfo.cs" -Replacements @{ 'COMPANY-PLACEHOLDER'=$Author } + Replace-Placeholders -Path "src/AssemblyInfo.vb" -Replacements @{ + 'COMPANY-PLACEHOLDER'=$Author + } Replace-Placeholders -Path "LICENSE" -Replacements @{ 'COMPANY-PLACEHOLDER'=$Author }