Implements CisServer connection handling #10

Merged
OCram85 merged 10 commits from dev into master 2017-10-23 10:53:53 +02:00
2 changed files with 7 additions and 3 deletions
Showing only changes of commit b92cb2609b - Show all commits

View File

@ -52,5 +52,5 @@ deploy:
on:
branch: dev # release from master branch only
#after_deploy:
# - ps: Invoke-AppVeyorPSGallery
after_deploy:
- ps: Invoke-AppVeyorPSGallery -OnBranch 'master'

View File

@ -138,7 +138,11 @@ Function Invoke-CoverageReport() {
Function Invoke-AppVeyorPSGallery() {
[CmdletBinding()]
Param()
Param(
[Parameter(Mandatory = $true)]
[ValidateNotNullOrEmpty()]
[String]$OnBranch
)
Expand-Archive -Path (".\bin\{0}.zip" -f $CALLSIGN) -DestinationPath ("C:\Users\appveyor\Documents\WindowsPowerShell\Modules\{0}\" -f $CALLSIGN) -Verbose
Import-Module -Name $CALLSIGN -Verbose -Force
Write-Host "Available Package Provider:" -ForegroundColor Yellow