mirror of https://github.com/hashicorp/consul
fix command in cherry-picker script (#8738)
parent
e4507ae11e
commit
e918da9c40
|
@ -30,7 +30,7 @@ function get_latest_backport_label {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
latest_backport_label=$(echo "$resp" | jq -r '.[] | select(.name | startswith("backport/")) | .name' | sort -rV | head -n1)
|
latest_backport_label=$(echo "$resp" | jq -r '.[] | select(.name | startswith("backport/")) | .name' | sort -rV | head -n1)
|
||||||
echo"$latest_backport_label"
|
echo "$latest_backport_label"
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue