Skip to content

Commit ebb586f

Browse files
committed
Fix template expansion
1 parent 19e67ad commit ebb586f

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Apply-Template.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ robocopy /mir $PSScriptRoot/.github $Path/.github
3737
robocopy /mir $PSScriptRoot/.vscode $Path/.vscode
3838
robocopy /mir $PSScriptRoot/tools $Path/tools
3939
robocopy $PSScriptRoot $Path Directory.Build.* Directory.Packages.props global.json init.* azure-pipelines.yml .gitignore .gitattributes .editorconfig
40-
robocopy $PSScriptRoot/src $Path/src Directory.Build.* .editorconfig AssemblyInfo.cs
40+
robocopy $PSScriptRoot/src $Path/src Directory.Build.* .editorconfig AssemblyInfo.cs AssemblyInfo.vb
4141
robocopy $PSScriptRoot/test $Path/test Directory.Build.* .editorconfig
4242
Remove-Item $Path/azure-pipelines/expand-template.yml

Expand-Template.ps1

+3
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,9 @@ try {
148148
Replace-Placeholders -Path "src/AssemblyInfo.cs" -Replacements @{
149149
'COMPANY-PLACEHOLDER'=$Author
150150
}
151+
Replace-Placeholders -Path "src/AssemblyInfo.vb" -Replacements @{
152+
'COMPANY-PLACEHOLDER'=$Author
153+
}
151154
Replace-Placeholders -Path "LICENSE" -Replacements @{
152155
'COMPANY-PLACEHOLDER'=$Author
153156
}

0 commit comments

Comments
 (0)