extension_ci: Use more robust bash syntax for `bump_extension_version` (#43955)

Also does some more cleanup here and there.

Release Notes:

- N/A
9c4e16088cFinn Evers committed on 12/1/2025, 11:38:05 PM· committed by GitHubparent34a2bfd
2 files changedLine totals unavailable