Skip to content

Commit

Permalink
fix versions arr
Browse files Browse the repository at this point in the history
  • Loading branch information
buidav committed Oct 1, 2024
1 parent 613c3c7 commit 8af2f55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/run_update_opa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ jobs:
elseif ($VersionsLength -eq 1) {
# if the default version is the only acceptable version
# Make `VariableName = CurrentVersion, Default #EndVersionComment `
$VersionVar = $_ -split "="
$VersionVar + " = '$CurrentOPAVersion'" + ", $DefaultOPAVersionVar $END_VERSIONS_COMMENT"
$VersionsArr = $_ -split "="
$VersionsArr[0] + " = '$CurrentOPAVersion'" + ", $DefaultOPAVersionVar $END_VERSIONS_COMMENT"
}
else {
# No Splitting lines; Appending new Current OPA version to acceptable version
Expand Down

0 comments on commit 8af2f55

Please sign in to comment.