Skip to content

What does powerShellVersion "~7" actually mean? #885

Closed
@Eonasdan

Description

@Eonasdan

Sorry if this is the right place to ask this.

I am working on making sure my FA are all on the latest LTS version of dotnet and PowerShell. I'm update my arm template to deploy a PowerShell FA. I set the value of "powerShellVersion": "~7" under the Microsoft.Web/sites/properties/siteconfig

After deploying, I checked the app in Azure and was greeted with this message:

image

My expectation based on my experience with npm would be that the ~ means "at this version-ish". Do I need to set this specifically to 7.2? If I did, does that mean ~7.2.x?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions