Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

install-powershell.sh solution can not install pre-releases because it removes all "v's" from version string #6572

Copy link
Copy link
@DarwinJS

Description

@DarwinJS
Issue body actions

The sed calls in this line remove all occurrences of the letter v rather than just the first one: https://github.com/PowerShell/PowerShell/blob/master/tools/installpsh-redhat.sh#L124

This ends up removing the "v" in "preview" of the version number when parsing it to come up with a file download path.

This: sed s/v//g needs to have the global option removed to become sed s/v//

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productWG-Maintainers-Buildspecific to affecting the buildspecific to affecting the build

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.