Skip to content

tokenize-ps3.ps1 does not work with environment variables #99

@danko-d

Description

@danko-d

In tokenize-ps3.ps1 it is no longer possible to use environment variables as replacement strings.

It was possible in tokenize.ps1 thanks to the following lines:

 if (Test-Path env:$matchedItem) {
          $variableValue = (get-item env:$matchedItem).Value
          Write-Verbose "Found custom variable '$matchedItem' in build or release definition with value '$variableValue'" 
 }

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