Skip to content

Commit ebf5cc6

Browse files
committed
Use proper NewModuleName token in template files
1 parent 4af775c commit ebf5cc6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Template.PowerShell.ScriptModule/TemplateRepoFiles/.github/workflows/build-and-test-powershell-module.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ on:
3131
value: ${{ jobs.build-and-test.outputs.deployFilesArtifactName }}
3232

3333
env:
34-
powerShellModuleName: 'Template.PowerShell.ScriptModule'
35-
powerShellModuleDirectoryPath: './src/Template.PowerShell.ScriptModule'
34+
powerShellModuleName: 'NewModuleName'
35+
powerShellModuleDirectoryPath: './src/NewModuleName'
3636
deployFilesDirectoryPath: './deploy'
3737
prereleaseModuleArtifactName: 'PrereleaseModuleArtifact'
3838
prereleaseModuleArtifactDirectoryPath: './artifacts/Prerelease'

src/Template.PowerShell.ScriptModule/TemplateRepoFiles/deploy/Invoke-SmokeTests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ BeforeAll {
1010
# To run these tests on your local machine, comment out the Import-Module command above and uncomment the one below.
1111
# Do this to use the module version from source code, not the installed version.
1212
# This is necessary to test functionality that you've added to the module, but have not yet published and installed.
13-
# Import-Module "$PSScriptRoot\..\src\Template.PowerShell.ScriptModule" -Force
13+
# Import-Module "$PSScriptRoot\..\src\NewModuleName" -Force
1414
}
1515

1616
Describe 'Get-HelloWorld' {

0 commit comments

Comments
 (0)