Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion build/psf-build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Insert any build steps you may need to take before publishing it here.
param (
$ApiKey,

$Repository = 'PSGallery',

$WorkingDirectory = $env:SYSTEM_DEFAULTWORKINGDIRECTORY
)

Expand Down Expand Up @@ -81,4 +83,4 @@ $fileData = $fileData.Replace('"<compile code into here>"', ($text -join "`n`n")
#endregion Update the psm1 file

# Publish to Gallery
Publish-PSFModule -Path "$($publishDir.FullName)\PSUtil" -ApiKey $ApiKey
Publish-PSFModule -Path "$($publishDir.FullName)\PSUtil" -ApiKey $ApiKey -Repository $Repository
4 changes: 3 additions & 1 deletion build/vsts-build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ Insert any build steps you may need to take before publishing it here.
param (
$ApiKey,

$Repository = 'PSGallery',

$WorkingDirectory = $env:SYSTEM_DEFAULTWORKINGDIRECTORY
)

Expand Down Expand Up @@ -81,4 +83,4 @@ $fileData = $fileData.Replace('"<compile code into here>"', ($text -join "`n`n")
#endregion Update the psm1 file

# Publish to Gallery
Publish-Module -Path "$($publishDir.FullName)\PSUtil" -NuGetApiKey $ApiKey -Force
Publish-Module -Path "$($publishDir.FullName)\PSUtil" -NuGetApiKey $ApiKey -Force -Repository $Repository
Loading