From 0dfb1ff4bdd2a017d37699e8522c9d05b0eedff8 Mon Sep 17 00:00:00 2001 From: OCram85 Date: Wed, 16 Jan 2019 11:09:07 +0100 Subject: [PATCH] allo prerelease publish --- tools/AppVeyor.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/AppVeyor.psm1 b/tools/AppVeyor.psm1 index d9dc9f5..833811d 100644 --- a/tools/AppVeyor.psm1 +++ b/tools/AppVeyor.psm1 @@ -219,7 +219,7 @@ Function Invoke-AppVeyorPSGallery() { If ($env:APPVEYOR_REPO_BRANCH -eq 'master') { Write-Host "try to publish module" -ForegroundColor Black -BackgroundColor Yellow Write-Host ("Callsign is: {0}" -f $CALLSIGN) -ForegroundColor Black -BackgroundColor Yellow - Publish-Module -Name $CALLSIGN -NuGetApiKey $env:NuGetToken -Verbose -Force + Publish-Module -Name $CALLSIGN -NuGetApiKey $env:NuGetToken -Verbose -Force -AllowPrerelease } Else { Write-Host "Skip publishing to PS Gallery because we are on $($env:APPVEYOR_REPO_BRANCH) branch." -ForegroundColor Black -BackgroundColor Yellow