From 8bdfb157fc0b41df6e1a446da0b4c9290f338fa4 Mon Sep 17 00:00:00 2001 From: Stephen Maunder Date: Sun, 31 Dec 2017 21:23:55 +0000 Subject: [PATCH] dont need to remove the module... --- build.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.ps1 b/build.ps1 index 402f83f..662bd48 100644 --- a/build.ps1 +++ b/build.ps1 @@ -79,7 +79,7 @@ function Release $functionsToExport = Get-ChildItem "$BuildRoot\SnipeitPS\Public" | ForEach-Object {$_.BaseName} Set-ModuleFunctions -Name "$releasePath\SnipeitPS\SnipeitPS.psd1" -FunctionsToExport $functionsToExport - Remove-Module SnipeitPS + #Remove-Module SnipeitPS Import-Module $env:CI_PROJECT_DIR\SnipeitPS\SnipeitPS.psd1 -ErrorAction Stop Publish-Module -Name SnipeitPS -Repository InternalPowerShellModules -NuGetApiKey 123456789 }