publish.ps1
|
#Requires -Version 5 [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12 $apiKey = (Get-Content -Path.\.apikey -Raw).replace("`n", ', ').replace("`r", ', ') $module = '.\slmgr-ps.psd1' Publish-Module -Name $module -NuGetApiKey $apiKey |