Skip to content

Commit

Permalink
fix: handle conway era in regression script
Browse files Browse the repository at this point in the history
Updated the regression script to handle the conway era correctly. Now, if
either TX_ERA or CLUSTER_ERA is set to "conway", TX_ERA will be unset and
COMMAND_ERA will be set to "conway". This ensures proper handling of the
conway era in the script.
  • Loading branch information
mkoura committed Sep 2, 2024
1 parent 97e67b2 commit 640114a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/regression.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,11 @@ fi
export CLUSTER_ERA

TX_ERA="${TX_ERA:-""}"
if [ "$TX_ERA" = "default" ]; then
export TX_ERA=""
elif [ "$TX_ERA" = "conway" ]; then
if [ "$TX_ERA" = "conway" ] || [ "$CLUSTER_ERA" = "conway" ]; then
unset TX_ERA
export COMMAND_ERA="conway"
elif [ "$TX_ERA" = "default" ]; then
export TX_ERA=""
fi

if [ -n "${BOOTSTRAP_DIR:-""}" ]; then
Expand Down

0 comments on commit 640114a

Please sign in to comment.