Skip to content

Commit 22eb24a

Browse files
committed
🚀 Fix CI tooling for publishing to gallery
1 parent 6634df7 commit 22eb24a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Deploy/FileSystem/PSKoans.psdeploy.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Deploy Module {
22
By PSGalleryModule {
3-
FromSource "$PSScriptRoot/PSKoans"
3+
FromSource "$PSScriptRoot/../PSKoans"
44
To FileSystem
55
WithOptions @{
66
ApiKey = 'FileSystem'

Deploy/PSGallery/PSKoans.psdeploy.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Deploy Module {
22
By PSGalleryModule {
3-
FromSource "$PSScriptRoot/PSKoans"
3+
FromSource "$PSScriptRoot/../PSKoans"
44
To PSGallery
55
WithOptions @{
66
ApiKey = $ENV:NugetApiKey

Deploy/Publish.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if ($OutputDirectory) {
2121
}
2222
Register-PSRepository @Params
2323

24-
Import-Module "$PSScriptRoot/FileSystem/PSKoans"
24+
Import-Module "$PSScriptRoot/PSKoans"
2525
$Module = Get-Module -Name PSKoans
2626
$Dependencies = @(
2727
$Module.RequiredModules.Name
@@ -33,7 +33,7 @@ if ($OutputDirectory) {
3333
}
3434
}
3535

36-
$HelpFile = Get-ChildItem -Path $Path -File -Recurse -Filter '*-help.xml'
36+
$HelpFile = Get-ChildItem -Path "$PSScriptRoot/PSKoans" -File -Recurse -Filter '*-help.xml'
3737

3838
if ($HelpFile.Directory -notmatch 'en-us|\w{1,2}-\w{1,2}') {
3939
$PSCmdlet.WriteError(

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
displayName: 'Download Built Module Artifact'
6161
inputs:
6262
artifact: PSKoans
63-
path: '$(System.DefaultWorkingDirectory)/Deploy/FileSystem/PSKoans'
63+
path: '$(System.DefaultWorkingDirectory)/Deploy/PSKoans'
6464

6565
- task: PowerShell@2
6666
displayName: 'Deploy to FileSystem'

0 commit comments

Comments
 (0)