From e87112d80e4356bad6fdb6dea8bcc7e68d1ea1a2 Mon Sep 17 00:00:00 2001 From: Lawrence Gripper Date: Wed, 19 Apr 2017 07:16:16 +0100 Subject: [PATCH] Updated Appveyor deployment script to new orgname Changes to make master branch trigger a powershell gallery deployment. --- AppVeyor/AppVeyorDeploy.ps1 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AppVeyor/AppVeyorDeploy.ps1 b/AppVeyor/AppVeyorDeploy.ps1 index 816deea..16d66b1 100644 --- a/AppVeyor/AppVeyorDeploy.ps1 +++ b/AppVeyor/AppVeyorDeploy.ps1 @@ -18,7 +18,7 @@ Write-Host "Updating module manifest to version: $env:APPVEYOR_BUILD_VERSION" # Publish to PS Gallery # #---------------------------------# -if ( ($env:APPVEYOR_REPO_NAME -notmatch 'PowerShellOrg') -or ($env:APPVEYOR_REPO_BRANCH -notmatch 'master') ) +if ( ($env:APPVEYOR_REPO_NAME -notmatch 'chocolatey') -or ($env:APPVEYOR_REPO_BRANCH -notmatch 'master') ) { Write-Host "Finished testing of branch: $env:APPVEYOR_REPO_BRANCH - Exiting" exit; @@ -27,4 +27,4 @@ if ( ($env:APPVEYOR_REPO_NAME -notmatch 'PowerShellOrg') -or ($env:APPVEYOR_REPO Write-Host "Publishing module to Powershell Gallery: " Publish-Module -Name $env:ModuleName -NuGetApiKey $env:nugetKey -Write-Host 'Done!' -ForegroundColor Green \ No newline at end of file +Write-Host 'Done!' -ForegroundColor Green