Skip to content

Commit 5c9875c

Browse files
chore: 🔧 update configuration for PSD1 refresh
* Set `RefreshPSD1Only` to `true` to ensure proper PSD1 file updates. * Commented out the global publish configurations for PowerShell Gallery and GitHub.
1 parent 8c7fbbf commit 5c9875c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Module/Build/Build-Module.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ Build-Module -ModuleName 'FileInspectorX' {
7979
DotSourceLibraries = $true
8080
NETSearchClass = 'FileInspectorX.PowerShell.CmdletGetFileInsight'
8181
NETBinaryModuleDocumentation = $true
82-
RefreshPSD1Only = $false
82+
RefreshPSD1Only = $true
8383
}
8484

8585
New-ConfigurationBuild @newConfigurationBuildSplat
@@ -88,6 +88,6 @@ Build-Module -ModuleName 'FileInspectorX' {
8888
New-ConfigurationArtefact -Type Packed -Enable -Path "$PSScriptRoot\..\Artefacts\Packed" -IncludeTagName -ArtefactName "FileInspectorX-PowerShellModule.<TagModuleVersionWithPreRelease>.zip" -ID 'ToGitHub'
8989

9090
# global options for publishing to github/psgallery
91-
New-ConfigurationPublish -Type PowerShellGallery -FilePath 'C:\Support\Important\PowerShellGalleryAPI.txt' -Enabled:$true
92-
New-ConfigurationPublish -Type GitHub -FilePath 'C:\Support\Important\GitHubAPI.txt' -UserName 'EvotecIT' -Enabled:$true -ID 'ToGitHub' -OverwriteTagName 'FileInspectorX-PowerShellModule.<TagModuleVersionWithPreRelease>'
91+
#New-ConfigurationPublish -Type PowerShellGallery -FilePath 'C:\Support\Important\PowerShellGalleryAPI.txt' -Enabled:$true
92+
#New-ConfigurationPublish -Type GitHub -FilePath 'C:\Support\Important\GitHubAPI.txt' -UserName 'EvotecIT' -Enabled:$true -ID 'ToGitHub' -OverwriteTagName 'FileInspectorX-PowerShellModule.<TagModuleVersionWithPreRelease>'
9393
}

0 commit comments

Comments
 (0)