Skip to content

Commit

Permalink
Fix bug with 3.3.0 deleting 3.3 instead of 3.3-rc
Browse files Browse the repository at this point in the history
  • Loading branch information
tianon committed Dec 26, 2023
1 parent 088718f commit 04ee24d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ for version in "${versions[@]}"; do
latestVersion="$({ echo "$fullVersion"; echo "$gaFullVersion"; } | sort -V | tail -1)"
if [[ "$fullVersion" == "$gaFullVersion"* ]] || [ "$latestVersion" = "$gaFullVersion" ]; then
# "x.y.z-rc1" == x.y.z*
json="$(jq <<<"$json" -c 'del(.[env.rcVersion])')"
json="$(jq <<<"$json" -c 'del(.[env.version])')"
continue
fi
fi
Expand Down

0 comments on commit 04ee24d

Please sign in to comment.