Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Need a unix-compatible release to the gallery #26

Closed
vors opened this issue Jan 10, 2017 · 2 comments
Closed

Need a unix-compatible release to the gallery #26

vors opened this issue Jan 10, 2017 · 2 comments

Comments

@vors
Copy link
Contributor

vors commented Jan 10, 2017

This is required for PowerShell/PowerShell#2743

Current gallery version produces the following errors on unix (among others)

[-] Validate that relative path can be specified as Path parameter of Compress-Archive cmdlet 205ms
      Exception calling "Substring" with "2" argument(s): "StartIndex cannot be less than zero.
      Parameter name: startIndex"
      at line: 348 in /home/travis/build/PowerShell/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Archive/Pester.Commands.Cmdlets.Archive.Tests.ps1
    [-] Validate that relative path can be specified as LiteralPath parameter of Compress-Archive cmdlet 61ms
      Exception calling "Substring" with "2" argument(s): "StartIndex cannot be less than zero.
      Parameter name: startIndex"
      at line: 360 in /home/travis/build/PowerShell/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Archive/Pester.Commands.Cmdlets.Archive.Tests.ps1
    [-] Validate that relative path can be specified as DestinationPath parameter of Compress-Archive cmdlet 54ms
      Exception calling "Substring" with "2" argument(s): "StartIndex cannot be less than zero.
      Parameter name: startIndex"
      at line: 372 in /home/travis/build/PowerShell/PowerShell/test/powershell/Modules/Microsoft.PowerShell.Archive/Pester.Commands.Cmdlets.Archive.Tests.ps1

Full build log: https://travis-ci.org/PowerShell/PowerShell/builds/190414570

@SteveL-MSFT
Copy link
Member

@anmenaga can you look into this?

@anmenaga
Copy link
Collaborator

Added unix-compatible release to the gallery;
Verified on PS "v6.0.0-alpha.17" on ubuntu 16.04:
Install-Module -Name Microsoft.PowerShell.Archive -Force -Scope CurrentUser

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants