Skip to content

Commit

Permalink
Update target framework to net8.0 and modify artifact naming for GitH…
Browse files Browse the repository at this point in the history
…ub publishing
  • Loading branch information
PrzemyslawKlys committed Nov 25, 2024
1 parent 3cb107d commit a3e5ab5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Module/Build/Build-Module.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,15 @@ Build-Module -ModuleName 'DnsClientX' {
NETProjectName = 'DnsClientX.PowerShell'
NETBinaryModule = 'DnsClientX.PowerShell.dll'
NETConfiguration = 'Release'
NETFramework = 'net472', 'net6.0'
NETFramework = 'net472', 'net8.0'
DotSourceLibraries = $true
NETSearchClass = 'DnsClientX.PowerShell.CmdletResolveDnsQuery'
}

New-ConfigurationBuild @newConfigurationBuildSplat

New-ConfigurationArtefact -Type Unpacked -Enable -Path "$PSScriptRoot\..\Artefacts\Unpacked" -RequiredModulesPath "$PSScriptRoot\..\Artefacts\Unpacked\Modules"
New-ConfigurationArtefact -Type Packed -Enable -Path "$PSScriptRoot\..\Artefacts\Packed" -IncludeTagName
New-ConfigurationArtefact -Type Packed -Enable -Path "$PSScriptRoot\..\Artefacts\Packed" -IncludeTagName -ArtefactName "DnsClientX-PowerShellModule.<TagModuleVersionWithPreRelease>.zip" -ID 'ToGitHub'

# global options for publishing to github/psgallery
#New-ConfigurationPublish -Type PowerShellGallery -FilePath 'C:\Support\Important\PowerShellGalleryAPI.txt' -Enabled:$true
Expand Down

0 comments on commit a3e5ab5

Please sign in to comment.