Skip to content

Commit

Permalink
updated solution versioning to work with pwsh.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryanb58 committed Jul 5, 2023
1 parent e02c6f3 commit a9ee0d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/auto-export-and-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
$output = pac solution list
echo $output
$lines = $output -split "`n"
$versionLine = $lines | Where-Object { $_ -match '${{ github.event.inputs.solution_name }}' }
$versionLine = $lines | Where-Object { $_ -match "${{ github.event.inputs.solution_name }}"" }
$version = ($versionLine -split "\s+")[3]
echo "::set-output name=current_version::$version"
# Split the version into its components
Expand Down

0 comments on commit a9ee0d6

Please sign in to comment.