Skip to content

Commit

Permalink
Fixing bugs in New-DeploymentPackage
Browse files Browse the repository at this point in the history
  • Loading branch information
michaldudak committed Nov 18, 2019
1 parent 55938dc commit e4a1390
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DotNetAutomation/DotNetAutomation.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
RootModule = './DotNetAutomation.psm1'

# Version number of this module.
ModuleVersion = '0.0.4'
ModuleVersion = '0.0.5'

# ID used to uniquely identify this module
GUID = 'b098cffb-bb67-47c8-9578-71db144c7c78'
Expand Down
2 changes: 1 addition & 1 deletion src/DotNetAutomation/public/New-DeploymentPackage.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function New-DeploymentPackage

$resolvedDestinationPath = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($destinationPath)
Write-Host "Compressing contents of $tempDirectory to $resolvedDestinationPath..."
Compress-Archive -Path "$tempDirectory\PackageTmp\*" -DestinationPath (Resolve-Path $resolvedDestinationPath) -Force
Compress-Archive -Path "$tempDirectory\PackageTmp\*" -DestinationPath $resolvedDestinationPath -Force
Write-Host "Done. Applicaton package saved in $resolvedDestinationPath."
}
catch
Expand Down

0 comments on commit e4a1390

Please sign in to comment.