diff --git a/.github/workflows/auto-export-and-deploy.yml b/.github/workflows/auto-export-and-deploy.yml index 5fcb6b41..126d3c5d 100644 --- a/.github/workflows/auto-export-and-deploy.yml +++ b/.github/workflows/auto-export-and-deploy.yml @@ -44,9 +44,10 @@ jobs: run: | # First we need to get the current online version. $output = pac solution list + echo $output $lines = $output -split "`n" $versionLine = $lines | Where-Object { $_ -match '${{ github.event.inputs.solution_name }}' } - $version = ($versionLine -split "\s+")[4] + $version = ($versionLine -split "\s+")[3] echo "::set-output name=current_version::$version" # Split the version into its components $versionParts = $version.Split('.')